![]() |
accessing forum array in SHOWTHREAD
I'm wanting to put a title onto my thread display, telling the user which forum the thread is in and showing the forum icon added using Forum Icons. But I can't work out how to access the forum array for the parent forum.
I used something like this in the FORUMDISPLAY HTML Code:
<div id="pagetitle" class="pagetitle"> |
The problem is that foruminfo isn't registered to the SHOWTHREAD template like it is in the FORUMDISPLAY template. But it turns out it's a global in showthread.php, so you can use this:
Code:
{vb:raw GLOBALS.foruminfo.description} |
Ta muchly.. that worked a treat. in the end it ended up something like this
HTML Code:
<div id="ThreadForum" class="pagetitle"> |
All times are GMT. The time now is 07:52 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:
|