Floren
Well-known member
Hi guys,
I'm trying to apply some conditionals in 'node_forum_level_2' template:
For some reason, $contentTemplate evals to an empty string. I've put that code just below the line:
Can you please let me know if it does the same for you?
I'm looking for a solution to validate in 'node_forum_level_2' template if the forum list is viewed.
I'm trying to apply some conditionals in 'node_forum_level_2' template:
Code:
<xen:if is="{$contentTemplate} == 'forum_list'">
Do some stuff
</xen:if>
For some reason, $contentTemplate evals to an empty string. I've put that code just below the line:
and it printed nothing while viewing the forum home or a specific forum that had sub-forums.<xen:require css="node_forum.css" />
Can you please let me know if it does the same for you?
I'm looking for a solution to validate in 'node_forum_level_2' template if the forum list is viewed.