Log in

View Full Version : Nav Bar Entries


oninuva
05-21-2006, 03:49 PM
How do i make nav bar entries? like add new things to the nav bar?

ericgtr
05-21-2006, 03:55 PM
Have a look in the navbar template for references. An example would be..

Find this line (your stock calendar link):

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>


And insert your own link after, you can also hard link too like this if you want (this will appear to the right of the Calendar link):

<td class="vbmenu_control"><a href="www.yoursite.com/otherstuff">Other Stuff</a></td>


Hopefully that makes sense. :)

oninuva
05-21-2006, 06:03 PM
yup it does thanks :D

so how do i remove?

just delete them?

Lottis
05-21-2006, 06:17 PM
yup it does thanks :D

so how do i remove?

just delete them?
You erase, what you have put in. ;)
You can see your historie, in what changes you have made, by clic "view historie" in the templates you are working with.

oninuva
05-21-2006, 08:18 PM
how do i get of the quick links one?

i cant find it

how do i get rid of "quick links" is wat i mean

ericgtr
05-21-2006, 09:06 PM
Please proceed with this using caution and backup your navbar template before doing it. This will remove the Quick Links menu and submenu's completely for everyone.

Find and remove:

<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>


Find:

<!-- / header quick search form -->
</if>

Remove everything below it up to this point:

<!-- / NAVBAR POPUP MENUS -->

oninuva
05-21-2006, 09:46 PM
cool thankx

that work'd

ok i added a new one in but only register'd users can see it?

how do i make it so guests see it too?

peterska2
05-21-2006, 09:49 PM
make sure it doesn't have<if condition="$show[member]">before the code and </if> after it.

oninuva
05-22-2006, 12:03 AM
okk thanks