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

XF 1.4 Side bare question

Discussion in 'Styling and Customization Questions' started by Pierre Boulanger, Mar 17, 2015.

  1. Pierre Boulanger

    Pierre Boulanger Active Member


    I have placed an advertisement banner but its visible in home page and in forum

    Is it possible to be visible only in home page?
    Many thanks!
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You would need to ask on the add-on thread whether there is a dedicated template for the home page, otherwise use a conditional statement for the template name.

    There's a link in my signature for a guide to using those.
  3. Dylan V

    Dylan V Well-Known Member


    Put your code inside this:
    <xen:if is="{$contentTemplate} == 'EWRporta_Portal'">
    Pierre Boulanger and Brad P like this.
  4. Pierre Boulanger

    Pierre Boulanger Active Member

    I will try it :)


Share This Page