PDA

View Full Version : if commands in templates


Anarchy
11-24-2005, 12:44 AM
I need to do a

if($variable == "") { echo "this" }

but can't figure out how to do this in the templates.

Can anyone help?

merk
11-24-2005, 12:47 AM
<if condition="$variable == ''">this</if>

Anarchy
11-24-2005, 12:58 AM
thanks

Guest190829
11-24-2005, 03:00 AM
Here's full documentation on vbulletin's template conditionals:

http://www.vbulletin.com/docs/html/main/template_conditionals