glennybee
03-20-2013, 04:11 PM
Hello,
This is a little hard to explain...so here goes...
I want to put links to individual forums in the header template. I don't want to put the full url, just the variable plus the forum id.
<li><a href="{vb:raw vboptions.homeurl}">Forum Name</a></li>
This gives me the main forum url. But how can I add a specific forum id to the end?
<li><a href="{vb:raw vboptions.homeurl}/forumdisplay.php?f=149">Forum Name</a></li>
This is kind of what I'm trying to achieve but it doesn't work.
I know the code I'm looking for is contained within the breadcrumb but I can't find that code anywhere in the template.
Thanks for any advice.
--------------- Added 1363797009 at 1363797009 ---------------
Ok, I've got it working like this...
<li><a href="forumdisplay.php?{vb:raw session.sessionurl}f=149">Forum Name</a></li>
But it's not entirely how I wanted it. Well, I suppose it is really. lol
This is a little hard to explain...so here goes...
I want to put links to individual forums in the header template. I don't want to put the full url, just the variable plus the forum id.
<li><a href="{vb:raw vboptions.homeurl}">Forum Name</a></li>
This gives me the main forum url. But how can I add a specific forum id to the end?
<li><a href="{vb:raw vboptions.homeurl}/forumdisplay.php?f=149">Forum Name</a></li>
This is kind of what I'm trying to achieve but it doesn't work.
I know the code I'm looking for is contained within the breadcrumb but I can't find that code anywhere in the template.
Thanks for any advice.
--------------- Added 1363797009 at 1363797009 ---------------
Ok, I've got it working like this...
<li><a href="forumdisplay.php?{vb:raw session.sessionurl}f=149">Forum Name</a></li>
But it's not entirely how I wanted it. Well, I suppose it is really. lol