• 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

Simon

Active member
#1
Hello,

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.

Simon
 

Brogan

XenForo moderator
Staff member
#4
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.

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112