The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
using a variable and conditional in template
i wrote a simple query that returns a numeric value or 1, 2, or 3 etc.
what i want to do is use this variable to make a conditional. $string6 is my variable and it does return proper # can i use this variable in a conditional within a template to do something like this ?? example: Code:
<if $string6="1">Hello</if> <if $string6="2">Goodbye</if> i have a shoutcast radio station up, and based on which dj is online i want to show diff info. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|