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

XF 1.3 Hide notice on a particular page

JamesBrown

Well-known member
#1
I have a notice that encourages guests to register. When they get click on a link in the note they are taken to the /forum/login page.

Is there a way of not displaying the notice on the login page? Thanks
 

erich37

Well-known member
#5
I have a notice that encourages guests to register. When they get click on a link in the note they are taken to the /forum/login page.

Is there a way of not displaying the notice on the login page? Thanks
the best way is to define for each and every Notice where you want to have it displayed.


Example:
display Notice at the Homepage (Forum List) only:

- click the specific Notice in ACP
- go to the Tab named "Page Criteria"
- at the very bottom you see a field named "Content Template is:"
- activate this field and enter the wording "forum_list" into that field (without the quotes, just the text)


As per above example, your Notice will only show at the Homepage (Forum List), but will not show at the "Register Page".



By figuring out the template-name, e.g.: "forum_list", you can define at which page you want to display a specific Notice.

http://xenforo.com/community/threads/notices.18390/page-15#post-295146

http://xenforo.com/community/threads/notice-on-main-index-page.33976/

:)
 
Last edited: