PDA

View Full Version : Change where the home button goes


TFGJessica
03-31-2011, 07:46 PM
I'm a newbie to vBulletin, so bear with me.

How do I change where the "Home" button on the main navigation bar goes? I would like to link it to the homepage of my website, and NOT have it link to anything in vBulletin.

Thanks in advance,

Jessica

HMBeaty
03-31-2011, 07:53 PM
Change your navbar template. The code you'll be looking for should look something like:
<td class="vbmenu_control"><a href="index.php$session[sessionurl_q]">Home</a></td>
And you would just need to change
index.php$session[sessionurl_q]
to whatever you want to link to

TFGJessica
04-04-2011, 08:29 PM
Okay, I tried this, and it didn't work so well.
I started by going into the Style Manager, and I selected "Edit Templates". Then I drilled down to the navbar template.
I found this code, which was the only piece of code that had index.php anywhere in it:
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
and I changed the href to the website that I want the home button to link to, but nothing happened.

What am I missing?

HMBeaty
04-05-2011, 02:46 AM
You need to change:
index.php{vb:raw session.sessionurl_q}
to
www.yournewlink.com