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

XF 1.1 How To Not Show Content In More Than One Forum?

Discussion in 'XenForo Questions and Support' started by DRE, Nov 27, 2011.

  1. DRE

    DRE Well-Known Member

    I saw this in FAQS

    How can I show content in more than one forum?
    <xen:if is="in_array({$forumId}, array(x, y, z))">
    This content will show in forums x, y, and z
    </xen:if>

    ^^^How do I prevent that content from showing in more than one forum?

    For instance, in thread_view template, I want to prevent the Share Page twitter, fb, etc icons from loading in the private forums. I tried doing it this way:


    <xen:if is="!in_array({$forumId}, array(x, y, z))">
    This content will show in forums x, y, and z
    </xen:if>

    Didn't work.
     
  2. DRE

    DRE Well-Known Member

    NVM It's working now. It wasn't showing up yet due to caching.
     

Share This Page