PDA

View Full Version : How would I insert a javascript code into just one section of my forum


jambo310
12-19-2007, 08:14 PM
I have a javascript encrypter gadget and thought it would be cool to put in my staff room but how would I only put it in the staff room subsection??

Triky
12-20-2007, 09:31 AM
Open your FORUMDISPLAY template, then add this code where you want it showed:


<if condition="$forum[forumid] == X">Your javascript code.</if>

X = Your staff room subsection ID.