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

XF 1.2 recent messages in navbar

Discussion in 'Styling and Customization Questions' started by Echelon, Nov 15, 2013.

  1. Echelon

    Echelon Active Member

    Anybody able to help me out with an issue i have...



    but i want to have it like this


    i used this code in template "navigation"

    <!-- Je nieuwste berichten -->
    <li class="navTab PopupClosed"><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}" class="navLink" target="_blank">Je</a></li>

    what do i do wrong?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You need to use <xen:if...> in templates, not curly braces.
  3. Echelon

    Echelon Active Member

    thanks Brogan....but where to put <xen:if...> in the above code....because im a kind of a newbie
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Echelon

    Echelon Active Member

Share This Page