• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 How can I show content on a specific page?

Brogan

XenForo moderator
Staff member
#2
If you just want to show something in a specific page node, just add it to the page HTML.

Otherwise, depending on what you are trying to do and which template you are adding it to, you can use:
Code:
<xen:if is="{$page.node_id} == x">
Or:
Code:
<xen:if is="{$quickNavSelected} == 'node-x'">
 

vinafix

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


I want to show in the page etc: forum_list, forum_view, thread_view....

How?

Thanks you.