PDA

View Full Version : forum title



sphinx
Sat 25th May '02, 8:19am
how do I put the forum title in the middle of the bar ? ie I would like to put my general discussion title in the title bar in the centre

IDN
Sat 25th May '02, 9:14am
edit a template... let me get it for ya


do a template search for $forum[title]

or you can do a replace of $forum[title] with <div align="center">$forum[title]</div>

sphinx
Sat 25th May '02, 9:17am
hmmm this works for the forum descriptions and not the forum title,more than likely it is me missing something

Jake Bunce
Sat 25th May '02, 5:11pm
i think these are the templates you need to edit:

Admin CP -> Templates -> Modify -> [expand list] -> Forum Home Page Templates -> forumhome_forumbit_level....

for the category bars that contain just the category text it's going to be the forumhome_forumbit_level1_nopost template (or maybe it's level2). add the code in red:

<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6" align="center"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>

i think that should work.

sphinx
Sat 25th May '02, 5:38pm
yeah that got it jakeman thank you
sorry if this was posted in wrong forum originally