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

Show notice only on Homepage

Discussion in 'XenForo Questions and Support' started by Simon, Nov 15, 2011.

  1. Simon

    Simon Active Member


    I have created a notice and I want it to appear only on the homepage. I have gone into the page criteria section of the notice but not too sure what I need to select for this notice to appear only on the homepage.

    Thanks in advance.

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Set the content template field as forum_list.
    Simon likes this.
  3. Simon

    Simon Active Member

    Thanks Brogan :)
  4. Brogan

    Brogan XenForo Moderator Staff Member

    BTW, if you ever need to know the name of a template, this may help.

    How can I find out which template to edit?
    Using your browser, view the page source and look for a line of code near the top of the page which begins
    <div id="content" class="; the class is the name of the template. So for the main forum page, the line of code is:
    <div id="content" class="forum_list">, which makes the template forum_list.

    Gladius and rafass like this.

Share This Page