Speedy2000
06-22-2009, 02:35 PM
I'm using a skin that doesn't contain the page navigation (the navigation that is built like Website name > Current Forum > Current Sub-forum). So I'm creating one by myself.
This is what I have so far:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" >
<tr>
<td class="alt1">
<b><a href="$vboptions[forumhome].php">$vboptions[bbtitle]</a></b>
<if condition="$show['forumdesc']">
> <a href="$vboptions[forumurl]">$foruminfo[title]</a></if>
</td>
</tr>
</table>
This code works just fine. But when I browse to a sub-forum, then it doesn't show the parent forum because the code isn't finished yet. In that case, the navigation looks like Boards name > Sub-forum name. You can see it on my website (top left corner) (http://forums.techlifezone.com)
Now I need to know how I can modify the code in such a way, that both the parent forum and the subforum are visible in the navigation?
Current wrong situation:
Boards name > current sub-forum name
Correct situation:
Boards name > parent forum name > Current sub-forum name
This is what I have so far:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" >
<tr>
<td class="alt1">
<b><a href="$vboptions[forumhome].php">$vboptions[bbtitle]</a></b>
<if condition="$show['forumdesc']">
> <a href="$vboptions[forumurl]">$foruminfo[title]</a></if>
</td>
</tr>
</table>
This code works just fine. But when I browse to a sub-forum, then it doesn't show the parent forum because the code isn't finished yet. In that case, the navigation looks like Boards name > Sub-forum name. You can see it on my website (top left corner) (http://forums.techlifezone.com)
Now I need to know how I can modify the code in such a way, that both the parent forum and the subforum are visible in the navigation?
Current wrong situation:
Boards name > current sub-forum name
Correct situation:
Boards name > parent forum name > Current sub-forum name