The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Editting navbar options
I'd like to be able to edit (add, remove, rename) some of the options on the navbar... but it's a bear finding which js or php file is controlling what functions/links.
I must be missing something obvious. |
#2
|
||||
|
||||
I changed mine in Navigation / Breadcrumb Templates / navbar
Is that what you are talking about? See it here http://www.ravensrealm.net |
#3
|
|||
|
|||
The "Forums/// register // photos /..." bar towards the top, which does appear to be modified on yours... I didn't see a navigation template, but I'll look again.
|
#4
|
|||
|
|||
Okay, so that's the template I've been looking through...
Only calendar entries, for example, are: Code:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td> I'm obviously not a programmer and the little php I've learned is out of necessity (for managing a small database reporting page a friend developed for my site). |
#5
|
|||
|
|||
I don't think this can be that hard... am I asking the wrong question? Am I 2 newb 4 U??
|
#6
|
||||
|
||||
Are you asking how to rename the link?
if so, replace $vbphrase[calendar] with whatever you want. or make a new phrase in the admin panel and replace the code with $vbphrase[new_phrase_here]. sorry if that's not what you're asking for. |
#7
|
|||
|
|||
Quote:
My head hurts now. Anyway, I had tried this but think there's more than one place I need to change this value, because once it was changed $vbphrase[calendar] to $vbphrase[events_calendar] in the navbar template the entire "calendar" menu option disappeared. This makes sense as numerous items in numerous php files refer to this $vbphrase[calendar] setting. When you say "or make a new phrase in the admin panel and replace the code with $vbphrase[new_phrase_here]", where in the admin panel is this? I'm been searching through the styles section to find the various bits of code and view the templates, but didn't find anyplace/easy method to alter the existing data. Part of my issue is that I had to eliminate all my help data for the admincp from the language.xml in order to allow the 3.0.0 upgrade to finish (my host wouldn't finish the upgrade/run the remainder of the xml because of some weird filesize limit ). |
#8
|
||||
|
||||
Quote:
In your adminCP go under Languages & Phrases , click on phrase manager, then click add new phrase. Phrase Type: Global varname: events_calendar Text: is whatever you want, HTML usages is allowed. in your case you want in this box. Events Calendar then it should show up in your navbar once you edit the code. You of course do Not need to do all of this, you can of course edit the $vbphrase[calendar] to any text you'd like, but making a new global phrase allows you to use the phrase anywhere in the templates. Hope this helps. |
#9
|
|||
|
|||
Quote:
Thanks A LOT for your help . (and in under 30 seconds, it worked! http://www.adkforum.com/index.php?) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|