Log in

View Full Version : How do I set certain link to show in navbar


tidy_boy
01-08-2006, 12:09 PM
Hey guys how do I set certain links to show in my navbar when im not logged in.

What is the code for this?

Thanks

peterska2
01-08-2006, 08:45 PM
Use this code around the links
<if condition="$show[registerbutton]">link stuff here</if>

tidy_boy
01-08-2006, 09:56 PM
So that code will show the link when a user is not logged in?

peterska2
01-08-2006, 10:13 PM
Yes it will

tidy_boy
01-09-2006, 07:00 AM
Thank you

What code do i need to make a link not appear when logged out.

peterska2
01-09-2006, 09:47 PM
that would be

<if condition="$show[member]">code</if>

harmor19
01-09-2006, 09:53 PM
Thanks for asking this question.
Expect my hack to be upgraded with a feature to select if the link can only be seen by logged in users.