2013-09-06, 10:52 AM
I added this to threaddisplay template.
However, only a couple of forums have rules and it's displaying a blank table for forums without rules. Is there someway to get this to apply to only certain forums, or to tell it not to make the table if forum rules are blank?
Something like if forumid=#,#,# then display table, else don't. Or, if forumrules>blank then display table, else don't.
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$forum['rulestitle']}</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$forum['rules']}</span></td>
</tr>
</table>
<br />
However, only a couple of forums have rules and it's displaying a blank table for forums without rules. Is there someway to get this to apply to only certain forums, or to tell it not to make the table if forum rules are blank?
Something like if forumid=#,#,# then display table, else don't. Or, if forumrules>blank then display table, else don't.