Code for forum id links

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • glennybee
    Senior Member
    • Feb 2008
    • 1005
    • 3.7.x

    [Forum] Code for forum id links

    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.

    Code:
    <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?

    Code:
    <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.
    Last edited by glennybee; Wed 20 Mar '13, 8:12am.
  • glennybee
    Senior Member
    • Feb 2008
    • 1005
    • 3.7.x

    #2
    OK I've got it working like this...

    Code:
    <li><a href="forumdisplay.php?{vb:raw session.sessionurl}f=149">Forum Name</a></li>
    But I guess I was expecting it to harder lol

    Comment

    Related Topics

    Collapse

    Working...