The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display a forum name in the navbar template
Dumb Newbie question #17:
I'm adding a navbar item in the navbar template to a link in a submenu. I have the ID to the forum I'd like to jump to but would like the hyperlink text to be the name of the given forum. How can I programmatically insert the forum name of the forum with id, say, 4, as the text of the <a> element? Here's the section out of the submenu: <tr> <td class="vbmenu_option"> <a href="ForumDisplay.php?f=4" rel="nofollow">FORUM NAME HERE</a> </td> </tr> I've seen code-snippets in the form $vbulletin->forumcache["$forumID"]['title'], but I can't seem to get it to expand to anything but Array[4]['title'] (et al. - various parameter options explored). What's the RIGHT way to get a forum name from an ID in the Navbar template...? Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|