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

Conditional help needed

Discussion in 'XenForo Questions and Support' started by Michael, Jan 16, 2011.

  1. Michael

    Michael Active Member

    I am wanting this to work but it does not work with any forum that has subforums:

    Code:
    <xen:if is="{$forum.node_id} == 1"></xen:if>
    Anyone know how to get it to work when the forum has subforums?

    Thanks.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What are you trying to do with that condition? In which template are you using that condition? Can you post a link to your forum so we can see the forumids and structure of your forum?
     
  3. Michael

    Michael Active Member

    Its in the node_forum_level_2 template, I have PMed you the URL :)
     

Share This Page