View Full Version : How do I display text next to category title?
NateDog
12-09-2005, 06:58 PM
On the forum homepage, I would like to display an extra link next to the titles for some of the forums that are in 'category' mode. I don't see a hook that will allow me to do this, but I have seen cases where AJAX lets you hook into places that you can't with hooks alone. Is this possible for what I'm doing?
If not, I'll have to modify the vB source, which I'd much rather not have to do.
peterska2
12-09-2005, 09:12 PM
Should be possible with some template edits. I'll look into it for you.
Right then, this is dead simple.
In your forumdisplay_level1_nopost template
FIND
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
Replace with
<if condition="$show['forumdescription']">$forum[description]</if>
This moves the description box to the same line as the title box, and you can use html in the description to provide and additional links.
brunod76
12-12-2005, 01:58 AM
Thanks, I was needing this also... Actually I want to post some kind of menu beside but the idea is the same ;)
NateDog
12-12-2005, 01:40 PM
Thanks Peter! Worked like a charm.
peterska2
12-12-2005, 08:11 PM
You're both welcome. HTH :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.