Hi all,
I am trying to set custom headers for each section of my forum.
I am expecting i should be able to do some sort of basic ‘If..’ statemtn basedon {category_name}.
I have opened my forum default tmeplate and found this line of code that i wish to alter..
so I want to say
{if category_name =="Black Section"}
color=#000000
{/if}
Here’s the line of code i want to change. What is the proper syntax to use in this forum template environment?
<td class="tableHeadingBG" colspan="4"><div class="tableHeading">{if category_name =="Black Section"}
color=#000000
{if:else}{category_name}{/if}</div>
{if category_description}<div class="tableHeadingSmall">{category_description}</div>{/if}
</td>Thanks for any help you may be able to give.
L