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

Show notice only in forum homepage

Discussion in 'XenForo Questions and Support' started by Ranma1981, Jun 19, 2013.

  1. Ranma1981

    Ranma1981 Member

    Hello,

    1) when you create a new notice message, is possible show it only in the home of forum?

    I saw many many options...but I didn't find it.

    2) As template parameters, what is the code to show something, only to guests on forum homepage?

    Thanks..
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    1. Page Criteria - Content template is forum_list

    2. User Criteria - User is a guest
     
    waytoomany, Adzkii, seabeds and 2 others like this.
  3. Ranma1981

    Ranma1981 Member

    Hi Brogan, thanks!

    And for template parameters, what is the correct code?

    I found the conditional statements...but I have any difficults to create the correct code.

    Can you help me please?

    Thanks..
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    <xen:if is="!{$visitor.user_id} AND {$contentTemplate} == 'forum_list'">
     
  5. Ranma1981

    Ranma1981 Member

    Thank you! :)
     

Share This Page