View Full Version : Adding a link to the navigation
bokas
09-30-2006, 07:15 PM
I'm trying to add a gallery link to the exisiting navigation on the VB. I purchased the Photopost pro and want to add a gallery link up on top. HOw would you recommend doing this? thank you.
calorie
09-30-2006, 07:29 PM
Assuming a default vB navbar template, find and add the part in bold:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td class="vbmenu_control"><a href="/gallery/index.php$session[sessionurl_q]">Gallery</a></td>
bokas
09-30-2006, 07:59 PM
Thanks for your response. Been trying to find that template in the back end. I found in the default (yes i'm using the default vb template) template the page navigation templates and under that i see pagenav. I click on that and i don't see the exact text you gave me, the first line that is. Am i totally looking in the wrong place?
calorie
09-30-2006, 08:09 PM
Go to the vB ACP -> Styles & Templates -> Search in Templates
Search for Text: navbar
Search Titles Only: yes
Then double click navbar when it comes up and add the bold piece.
Type calendar in 'Search in Template' and click the Find button. ;)
bokas
09-30-2006, 08:12 PM
Ah ha. I did it. right on!! Ok the only thing is the link should go to http://www.domainname.com/photopost and i think due to the code you gave me it looks for a gallery on the site which isn't there. HOw would i go about it pointing to the url above :)
calorie
09-30-2006, 08:15 PM
Just change the A HREF link: from /gallery/ to /photopost/
bokas
09-30-2006, 08:27 PM
You rock! Thanks I got it. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.