1. 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

Discussion in 'XenForo Questions and Support' started by JamesBrown, Aug 3, 2014.

  1. JamesBrown

    JamesBrown Well-Known Member

    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
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It isn't possible using the built in criteria to exclude a notice from a specific page.
     
  3. RoldanLT

    RoldanLT Well-Known Member

    Use BD Widget Framework for this.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Easiest way doesn't require any add-ons.

    Just use CSS.

    In EXTRA.css:
    Code:
    .login .PanelScroller
    {
        display: none;
    }
     
    JamesBrown and HenrikHansen like this.
  5. erich37

    erich37 Well-Known Member

    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: Aug 3, 2014
    JamesBrown likes this.
  6. JamesBrown

    JamesBrown Well-Known Member


    Thanks Chris, tried that, but it's still showing up.
     

Share This Page