![]() |
elseif in templates
I have a special form for posting that I have used for a single forum and everything has worked well. Now that I'm adding a separate form with "elseif" it doesn't work. What have I done wrong?
Working code: Code:
<if condition="$forumid == 14"> Code:
<if condition="$forumid == 14"> Thanks. I appreciate the help. |
template conditionals dont support elseif statements so you have to nest it.
This is the part thats messing you up. Code:
<elseif condition="$forumid == 35" /> Code:
|
Thanks Reeve,
I now understand - this isn't PHP in the templates, just template "code". |
Exactly.
Have a look at the vBulletin Documentation for some more info about template conditionals: http://www.vbulletin.com/docs/html |
All times are GMT. The time now is 07:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|