We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
Revolution: Working with IF
223 Posts
Pleth
Reply #1,
16 years, 3 months ago
I have the statement:
[[If? &subject=`[[*TV]]` &operator=`is` &operand=`empty` &then=`images/myimage.jpg` &else=`[[*TV]]`]]
but it does not return the &then portion of the statement. Am I structuring this wrong?
4,149 Posts
splittingred
Reply #2,
16 years, 3 months ago
[[!If? &subject=`[[*TV]]` &operator=`empty` &then=`images/myimage.jpg` &else=`[[*TV]]` ]]
shaun mccormick
| bigcommerce mgr of software engineering, former modx co-architect
|
github
|
splittingred.com
223 Posts
Pleth
Reply #3,
16 years, 3 months ago
Thank you.