PDA


View Full Version : Nav link goes one way using session url.


Feradvan
07-02-2005, 07:41 AM
Hi all I'm using vbadvanced 2 and I realized this. If I use:

<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>
I can only go to forum but no come back hitting Home(linking home points me to the same page so give me only a reload.

I can only get to work using this:

<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="http://www.saudeemrede.com/forums/forums.php"> Fórums <else /> <a href="http://www.saudeemrede.com/forums/index.php"> Início </if></a></td>

Why is this happen? My forum home is :http://www.saudeemrede.com/forums
And home page is page http://www.saudeemrede.com/forums

Regards
Fernando

Brian
07-02-2005, 10:39 AM
Admin CP => vBulletin Options => Site Name / URL / Contact Details

What do you have set for your Forum URL and Homepage URL options there?

Feradvan
07-02-2005, 10:54 AM
Thanks for the reply Brian. But that is my question? Why using this code:

<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>
It does not work and the one I'm using right now works:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="http://www.saudeemrede.com/forums/forums.php"> Fórums <else /> <a href="http://www.saudeemrede.com/forums/index.php"> Início </if></a></td>

Brian
07-02-2005, 11:00 AM
That's what I'm trying to determine. It doesn't help me to figure out the problem if you don't answer the questions I ask you though. ;)