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

    Hello,

    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

    Hi,

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

    Pierre Boulanger Active Member

    I will try it :)

    Thanks!
     

Share This Page