|
#1
| |||
| |||
| Please can you help. ( regarding forum category collapse )
On forumhome, to the right of all forum categories, should be forum collapse. But it isnt appearing, we have modified the code, using hacks off vb.org, but the tcat collapse obj doesnt appear on the webpage, yet it is within the template. Its kind of weird. Heres the code from forumhome_forumbit_level1_nopost Code: <if condition="$forum[forumid] != 1">
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
</if>
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$vboptions['showmoderatorcolumn']">
<tr align="center">
<td width="5%" class="thead"> </td>
<td width="40%" class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td width="25%" class="thead">$vbphrase[last_post]</td>
<td width="10%" class="thead">$vbphrase[threads]</td>
<td width="10%" class="thead">$vbphrase[posts]</td>
<td width="10%" class="thead">$vbphrase[moderator]</td>
</tr>
$childforumbits
</tbody>
<else />
<tr align="center">
<td width="5%" class="thead"> </td>
<td width="50%" class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td width="25%" class="thead">$vbphrase[last_post]</td>
<td width="10%" class="thead">$vbphrase[threads]</td>
<td width="10%" class="thead">$vbphrase[posts]</td>
</tr>
$childforumbits
</tbody>
</if>
Regards Ste I have removed /tbody from center of that code, and tried that ( as could be a tbody clash thing, but no luck |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Thread Form for forum category | perfphysio | Custom Work Inquiries | 1 | 27-12-2008 09:52 PM |