<mt:Else>
A container tag used within If and Unless blocks to output the alternate case.
This tag supports all of the attributes and logical operators available in the If tag and can be used multiple times to test for different scenarios.
Example:
<mt:If name="some_variable">
'some_variable' is assigned
<mt:Else name="some_other_variable">
'some_other_variable' is assigned
<mt:Else>
'some_variable' nor 'some_other_variable' is assigned
</mt:If>
MG
February 10, 2010 8:15 AM | Reply
And note:
This is the incorrect way to do if/then based on the variable's value:
While this is correct:
MG
replied to comment from MG
February 10, 2010 8:18 AM | Reply
grumble, sorry, came here from the forums. grumble markdown grumble preview grumble.
This is the incorrect way to do if/then based on the variable's value:
While this is correct: