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

How to make advertisements only show up on forum home?

Discussion in 'Styling and Customization Questions' started by Scott628, Jun 24, 2013.

  1. Scott628

    Scott628 New Member

    Might be the wrong forum, sorry.

    I put Adsense ads up on my site with directions from another thread, which stated to put them in the forum_list.

    They do work, but I was wondering if there is a way to make it that they only show up on the forum home. So once you click on a sub forum/whatnot than it won't show up.
  2. Sheratan

    Sheratan Well-Known Member

    How about use xen:if like:
    <xen:if is="{$contentTemplate} == 'forum_list'">
    some ads
    Scott628 likes this.
  3. Scott628

    Scott628 New Member

    Thanks alot! Really appreciated!

Share This Page