Log in

View Full Version : Making something forum specific


Behemoth
07-02-2006, 11:15 PM
Ok, in the newthread, template, I'm trying to have it use a different section of the code depending on what forum it is being used in.

I've tried so many different things, but nothing as of yet has worked.

I have tried:
<if condition="$foruminfo[forumid] = 54">
<if condition="$foruminfo['forumid'] = 54">
<if condition="$forumid = 54">
<if condition="$forumid[54]">
<if condition="$forumid['54']">
None of which have worked. Does anyone have an idea of what might work? It'd be so much easier if you could use PHP in the templates. >_<

Paul M
07-03-2006, 12:31 AM
The first two are almost right - you must use '==', not '=' (just as in php ;)).

Behemoth
07-03-2006, 01:53 AM
Ahhhh!!! I hate making dumb mistakes!! :p

Thanks Paul. :D