View Full Version : How to edit navbar links?
Fireproof
05 May 07, 19:25
I'm new to vBulletin and using CA EVO 2 if that matters.
I would like to modify the links on my Navbar in the following ways:
1. Add link to "Home Page" before User CP.
2. Remove Calendar link.
3. Add a new drop down list for Articles, with 4-5 links under it (like the Quick LInks menu works).
can you help? I tried looking in the navbar template and can't figure out what's going on.
Fireproof
05 May 07, 20:25
Ahh - okay. I see that you moved the nav buttons bar up into the header. Clever. Okay, I found out how to add a "Home Page" link and remove the "Calendar" link.
But I could still use advice on adding a couple drop-down links. Do you recommend hard-coding this into the template or finding some kind of mod?
Fireproof
06 May 07, 17:08
Hi CyberAlien,
I really need your help to add a dropdown menu to the navbar. All the instructions or mods I've found at vbulletin.org refer to editing the Navbar template. But if I'm correct, you've moved a lot of that code into the header template.
I'm too new to php and don't want to screw anything up.
Can you tell me what CODE to enter and WhERE if I want to have a Menu item with 4 links in the drop down, each linking to separate pages (URL)?
I would greatly appreciate the help. I don't want to break your wonderful skin (or my site). :)
CyberAlien
06 May 07, 22:07
even though links are in header, all popup code is in navbar template. take a look at code between these two comments: <!-- user cp tools menu --> and <!-- / user cp tools menu -->
Fireproof
06 May 07, 22:13
Oh, okay. I'll go look again.
So I'm assuming that in the header file, there's a line that calls out the popup. And then in the navbar file there is the information for that particular popup.
So if I want a new popup, I have to add something to header and then put the popup info in the navbar template?
Sorry I'm such a dummy, but I'm learning as quickly as I can. If you have any sample code you could throw my way, I'd appreciate it. Otherwise, I'll keep searching on the net.
Thanks! http://www.stsoftware.biz/forum/images/icons/icon14.gif
EDIT: Okay, after some playing around, I got a custom dropdown to work. The key was knowing that the control for the popup is in the header, and the actual popup stuff is still in the navbar. Thank you!
Fireproof-
How did you remove the 'Calendar' link?
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.