The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Help with template conditionals please!
I believe you can use AND in template conditionals, but I do not quite know how lol.
I need a template conditional which will allow me to do the following in my memberinfo table. IF field 1 has no data AND field 2 has no data do not print A ELSE print B. A and B being two different bits of HTML. I'm finding this hard to explain, but if you could help out, it would be much appreciated. Ta! Nevermind, sorry... I worked it out! The power of OR. |
#2
|
||||
|
||||
try
<if condition="$field1 AND $field2"> print B <else /> print A </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|