Quote:
Originally Posted by Mike-D
Yep you're right. I didn't see that. Now it works. You'll notice that I've deleted two small things inside the modification which are really not necessary. So then it looks now we'd like to have 
|
Thanks again, but it's still not quite right I'm afraid! What do you think wasn't necessary?
Because unless I'm reading your XML wrong, your replacements eliminate the
announcebits section completely, which means announcements won't show up. Plus, you still didn't take away the extra
ID = threadslist from the table code above the announcebits section, which means the thread editing will still not work.
Here's the section I'm talking about
:
PHP Code:
<searchstr><![CDATA[$announcebits]]></searchstr>
<replacestr><![CDATA[<!-- Modified Thread Search Layout -->
</tbody>
</table>
The
searchstr must include this:
PHP Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
And the
replacestr should start with this:
PHP Code:
<!-- Modified Thread Search Layout -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
$announcebits
(Obviously this isn't the whole replacement code.) Note the removed
id="threadslist' in the replacement stuff, and the inclusion of
$announcebits. These are necessary otherwise announcements and inline thread title editing won't work.
I really do appreciate the help, Mike! I wish I could create TMS files on my own but I'm no php coder by any stretch. Plus I don't use TMS yet! However, I know the above stuff is important for the modification to work correctly.