PDA

View Full Version : New posts No New posts



Dave#
Sat 2nd Jun '01, 4:11pm
In the main forumhome template I want to change the graphic from on.gif/off.gif to my own graphics. I can't just upload the graphics as the on/off.gif(s) are used elsewhere.

A template search did not help much- just returned forumhome's Key at the bottom

Can anyone help?

Wayne Luke
Sat 2nd Jun '01, 10:30pm
Name your new graphics forumon.gif and forumoff.gif.

Then in your templates put forum$onoff.gif where you want them to show up at.

Dave#
Sun 3rd Jun '01, 4:40am
Thanks for the response Wayne.

I am still not clear sorry.

I got my two new images on.gif and off.gif and renamed them forumoff.gif and forumon.gif

But I can't work out which text to replace and it what template

forumhome_forumbit_level1_post has


<td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td> already

Which template to I need to edit and what text am I looking for to replace the existing on and off.gif images

Thanks in advance

Dave

Wayne Luke
Mon 4th Jun '01, 12:45pm
Change:


<td valign="top"><img src="images/$forum[onoff].gif" border="0" alt=""></td>


To:


<td valign="top"><img src="images/forum$forum[onoff].gif" border="0" alt=""></td>



And really images should be imagesfolder surrounded by {} so that it works with the replacement variables properly.

Dave#
Mon 4th Jun '01, 12:58pm
Originally posted by wluke
Change:


<td valign="top"><img src="images/$forum[onoff].gif" border="0" alt=""></td>


To:


<td valign="top"><img src="images/forum$forum[onoff].gif" border="0" alt=""></td>



And really images should be imagesfolder surrounded by {} so that it works with the replacement variables properly.

Sincere thanks Wayne. Thankyou for talking the time to explain this. Kudos