![]() |
Display Forum Name In Forum Display
Is there a way i can display the name of the forum when viewing the forum, in forumdisplay.
Say i had a forum called "Sports" and i clicked on it, then above the threads i want to put the forum name "Sports". Something like this, im using this in the SHOWTHREAD template, to display the thread name when viewing a thread. <h2>$thread[title]</h2> |
Sure. I think it's just called $forum[title] or $foruminfo[title]. You can turn on the Description for the forums and it would be there, too.
|
Thanks a lot Lynne, it was $foruminfo[title]... :D
On a side note, for the one im using this in the SHOWTHREAD template, to display the thread name when viewing a thread: <h2>$thread[title]</h2> Is there a way to only display it in certain forums? |
Put a condition around it:
HTML Code:
<if condition="in_array($forumid, array(x, y, z))"> |
All times are GMT. The time now is 01:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|