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

xf 1.2: A question about ad templates

Discussion in 'Styling and Customization Questions' started by Jens1986, Apr 2, 2014.

  1. Jens1986

    Jens1986 Active Member

    Hi there,

    I have one ad after the first post on every page, and one ad above the quick reply form.

    When threads just have one post the ad above the quick reply will be just below the ad after the first post. How can I fix it so the ad above the quick reply is just showing when there is at least 2 posts made?

    Im using the standard ad templates.

    Thank you so much :)
  2. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    wrap it around

    <xen:if is="{$thread.reply_count} > 1">
    Jens1986 likes this.

Share This Page