View Full Version : Links added to the nav bar....
New Joe
06-02-2009, 02:21 AM
I've just installed the vBadvanced Home Page and it works fine, but as soon as I leave the Home Page to go into my Forum I am unable to link back as I don't have a link installed on my nav bar.
How do I insert a link for the Home Page into the nav bar.:confused:
Easy steps please guys as I am new to all of this.
Thanks.
:cool:
josh2007
06-02-2009, 02:56 AM
Go to Admin CP->Style and Templates->Style Manager->%YOUR STYLE&->Edit Templates (in dropdown box)->then down to Navigation/Breadcrum Templates->Expand/Collapse-> then navbar
Click Customize
Look for:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
Add underneath:
<td class="vbmenu_control"><a href="YOUR FORUM URL">Portal</a></td>
Change YOUR FORUM URL to the path of your forum index
New Joe
06-02-2009, 03:13 AM
Thanks, where you said Change "YOUR FORUM URL to the path of your forum index" where would I find this path to add?
josh2007
06-02-2009, 03:27 AM
lol easy you go to your forum homepage where it shows all the forums and subforums and the currently active users. That is your forum url
should end like /forums/index.php
(depending what directory your forum is in)
If you have more trouble post your site link here
Biker_GA
06-02-2009, 03:39 AM
In your navbar template find:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
After that put in:
<!-----Link to Portal (Home)----->
<td class="vbmenu_control"><a href="http://www.yourforumname.com$session[sessionurl_q]">$vbphrase[portal]</a></td>
<!-----End Link to Portal (Home)----->
Save the template.
Then create a phrase called Portal. The text for the phrase can be anything you wish. I use Home. :)
josh2007
06-02-2009, 03:42 AM
either way works lol
New Joe
06-02-2009, 03:44 AM
Go to Admin CP->Style and Templates->Style Manager->%YOUR STYLE&->Edit Templates (in dropdown box)->then down to Navigation/Breadcrum Templates->Expand/Collapse-> then navbar
Click Customize
Look for:
Add underneath:
Change YOUR FORUM URL to the path of your forum index
All done, that worked great, :up::D
next thing for my nav bar is to insert a Forum link, this link is where I want it to direct me to my main Forum, same code as above with a different path?
If so where would I find the main forum path within my Admin Panel?
Thanks.:cool:
josh2007
06-02-2009, 03:45 AM
yes and your admin panel path should be yourdomain.com/forums/admincp
New Joe
06-02-2009, 03:49 AM
Sorry, I didn't mean an Admin Panel path , I meant a path to my main forum.
Where you I find that path to insert to replace, <td class="vbmenu_control"><a href="YOUR FORUM URL">Portal</a></td>
(Your Forum)
Thanks again.
josh2007
06-02-2009, 03:51 AM
should be http://www.YOURDOMAIN.com/forums/index.php
replace YOURDOMAIN with whats between the www. and the .com lol
--------------- Added 1243918343 at 1243918343 ---------------
also if you dont like the word portal you can change Portal in the code and change it to whatever you want to appear in the navbar
Biker_GA
06-02-2009, 03:56 AM
In the example I gave, Portal is just the name of the phrase. The actual text I use for the phrase is Home.
josh2007
06-02-2009, 03:57 AM
true :)
New Joe
06-02-2009, 04:11 AM
All worked great.
Big up and thanks to all.
Now I just need to be able to install/Up load a Theme/Style to my Forum.
I have another Thread around here somewhere.
New Joe
06-10-2009, 08:31 AM
New question is, when a poster clicks on one of the links on the nav bar how do I make it so it automatically opens up a new Tab instead of opening the new page in the same Tab?
Dismounted
06-10-2009, 10:20 AM
After the <a, add target="_blank".
New Joe
06-13-2009, 04:17 AM
Thanks that worked.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.