Log in

View Full Version : Broken link issue


General Ray
08-01-2009, 03:35 AM
Simple question referring to the page tree. At the top of every page, above the navbar, the tree that lists {site name} > {Template} >{forum}... that one? The link to the main php index (the one I listed as {site name}), is a broken link. The problem is, I'm not used to the phrasing Vb uses in their templates to fix it. Plain and simple, how do I fix the link?

Thanks.

Dismounted
08-01-2009, 03:55 AM
Check the URL set in "Site / URL Options" in vBulletin Options.

General Ray
08-01-2009, 04:07 AM
Everything is all good in there. It's a 404 error btw.
<if condition="$show['breadcrumb']">
<span class="navbar">&gt; <a href="$nav_url">$nav_title</a></span>
<else />
$nav_title
</if>
Is what it appears to be listed under.

Lynne
08-01-2009, 02:59 PM
And where is $nav_url defined? That isn't a standard vbulletin variable.

General Ray
08-01-2009, 05:27 PM
That all came from navbar_link in the navbar and bread crumbs template.
EDIT:I got it, thanks anyway. Here was the problem:
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome] .php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
Should have been:
<a href="$vboptions[forumhome]index.php$session[sessionurl_q]"
Thanks anyway.