Quote:
Originally Posted by AlexisMedia
I'm trying to find the conditional to include "in every forum except (several forums). I wasn't sure what the "!=" meant but I thought that might be it so I tried this but it was a no-go.
Code:
<vb:if condition="!in_array($foruminfo[forumid], array(26, 46 )">MyScript</vb:if>
Any ideas on how I could do that? Thanks!
I'm using vB4....
|
That may not be a valid variable to use in that template. What template are you trying to put it in (take a look at the template itself and see what variable is being used there).
(Also, this is a vB3 article, although most of the conditions are valid, but in vB4 it does matter what template you use a variable in.)