1. 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?

Discussion in 'XenForo Questions and Support' started by jamalfree, Jan 25, 2016.

  1. jamalfree

    jamalfree Active Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

    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:
    <xen:if is="{$page.node_id} == x">
    <xen:if is="{$quickNavSelected} == 'node-x'">
    jamalfree likes this.
  3. jamalfree

    jamalfree Active Member

    tank you
  4. vinafix

    vinafix Active Member

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

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


    Thanks you.

Share This Page