PDA

View Full Version : Please Help, Navbar Links


dieselpowered
09-15-2005, 10:12 PM
Hi there everyone, alright this is the code that I added to add a portal, forums, and gallery link to my navbar. Is this correct??


<td class="vbmenu_control"><a href="http://www.atvpros.net$session[sessionurl_q]">$vbphrase[portal]</a></td>

<td class="vbmenu_control"><a href="http://www.atvpros.net/forums$session[sessionurl_q]">$vbphrase[forums]</a></td>

<td class="vbmenu_control"><a href="http://www.atvpros.net/gallery$session[sessionurl_q]">$vbphrase[gallery]</a></td>


As you can see, I added some new phrases. The main problem I was having before is that no sessions were being pulled. So anyhow, all you pros, what do you think? What is odd is that after the link for the portal it adds a '/' after the url but with the gallery and forums link it does not?

Thanks for the help :)

peterska2
09-15-2005, 11:18 PM
Well the forums one is fine and the portal one. There is no such page as:
/gallery/
/gallery.php
/forums/gallery/
/forums/gallery.php
anywhere on your server so you need to check that one (unless you haven't installed it yet of course)

dieselpowered
09-16-2005, 12:07 AM
Well the forums one is fine and the portal one. There is no such page as:
/gallery/
/gallery.php
/forums/gallery/
/forums/gallery.php
anywhere on your server so you need to check that one (unless you haven't installed it yet of course)

LOL ya I should have mentioned that...it is not installed yet.

Thanks!

peterska2
09-16-2005, 08:42 AM
That explains it then. As long as it is pointing to the correct location then it will work AOK so long as you add a '?' before $session on each one.

dieselpowered
09-16-2005, 02:45 PM
Oh ok, so what does the '?' do anyway?? When do you need to use a '?' in links and when do you not?

Thanks for the help!