Log in

View Full Version : Cant get my new link in the nav bar to point to my homepage.com instead of .../forum


siggen
01-30-2008, 10:00 AM
I am trying to add a link to my my homepage from the nav bar, and have been trying to edit my NAVBAR template.

Here's what I made and put in between the other links on the nav bar;


<td class="vbmenu_control"><a href="index.php$session[sessionurl_q]">Hjem</a></td>


This only pointed me to my forum main page, which is homepage.com/forum/index.php, While I want to get to my homepage, which is homepage.com.

I then tried to change the link as follows...


<td class="vbmenu_control"><a href="$session">Hjem</a></td>

and

<td class="vbmenu_control"><a href="">Hjem</a></td>


This time the link on the nav bar pointed me to homepage.com/forum, which is the same page on my forum as the previous attemt.

My navbar_link template looks like this...


<if condition="$show['breadcrumb']">
<span class="navbar">&gt; <a href="$nav_url">$nav_title</a></span>
<else />
$nav_title
</if>


I havent done anything to this one, as I think that might lead to that the other links on my nav bar will fail.

Can anyone please help me out?

It's not that easy to be a neewbie to modifications and such, but Im trying... :o

Opserty
01-30-2008, 03:55 PM
<font face="Courier New">$vboptions[homeurl]</font> maybe?