Log in

View Full Version : disable navbar items


fobster
08-03-2008, 03:12 AM
I was looking in the navbar template and I see this

if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
...

which leads me to believe I can disable navigation items from the admincp (what in the admin cp controls what goes into $show). Is the only way to disable the default navigation items to edit the template? or is there a admincp option that controls what is displayed in the navigation?

tia

fb

Lynne
08-03-2008, 03:17 AM
Actually, that condition means "show this if they are a member" so that non-registered users don't see a User CP ($vbphrase[user_cp] is the User CP). You will most likely have to edit the navbar template to get rid of links.

Opserty
08-03-2008, 06:25 AM
You have to delete the code from the navbar template in order to remove them. There are no specific options in the AdminCP to remove the links.