If template is forum_list

  • Thread starter Thread starter account8226
  • Start date Start date
A

account8226

Guest
Hello,

<xen:if is="{$contentTemplate} == 'forum_list'">
This content will show on the xyz template
</xen:if>

I tried that code to show a code on my forum list page, but nothing is showing up.

How can I do that ?

Regards.
 
I added it in a custom template I made, it is doing something like :
forum_list include taigachat include my custom template ^^

So I guess it is why it's not working isn't it ?
 
That's probably why, yes.

I think $contentTemplate is only available to container templates, such as PAGE_CONTAINER.

Furthermore it probably won't pick up templates that are included by <xen:include template="" />

If you can't get it positioned right in the PAGE_CONTAINER template you might want to consider directly editing the forum_list template.
 
Back
Top Bottom