Log in

View Full Version : Link in navbar is wrong in Portal but correct in forums?


glennybee
02-14-2008, 11:15 AM
I've just installed the arcade, all games work fine, many thanks.

But, I have vBadvanced CMPS installed and the 'Arcade' link on the navbar points to www.domain.co.uk/arcade.php but the navbar link in my forums points to www.domain.co.uk/forums/arcade.php (which is correct). It's the portal link that's wrong.

I thought the portal navbar was the same as the forums navbar?

Is there anyway I can correct this without adding a redirect?

The v3arcade I had previously was ok.

Thanks
Glen

WEBDosser
02-14-2008, 11:35 AM
you have to add the links in vBadvanced control inside VB admin

glennybee
02-14-2008, 01:02 PM
My adv_portal template calls the navbar, I haven't added links manually.

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="http://www.w3.org/1999/xhtml">
<head>
<if condition="$pages['name'] == 'home'">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</if>

<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude

</head>
<body>

$header

$navbar

.........


Theoretically it should be identical to the main forum navbar.

Can you advice where I should alter the links please?

If you are referring to the Site Navigation section, those links work ok.

EDIT:

I've now adjusted the code in the navbar template from...

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

to...

<td class="vbmenu_control"><a href="http://www.digital-kaos.co.uk/forums/arcade.php">Arcade</a></td>

...and it's fine now. Don't think that's the proper way but it's working so that's the main thing.

Thanks for the arcade, it's superb! :)