-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
I have upgraded to the latest version of Modx and am now having problems with the 'If' snippet.
This call is placed straight in a template and works fine:
[[!If? &subject=[[*client]] &operator=notempty &then=<p class="project-info">Client: [[*client]]</p> &else=``]]
This call is placed in a getResource template and since upgrading to 2.1.2-pl does not work:
[[!If? &subject=[[+tv.intro]] &operator=notempty &then=<p><p>[[+tv.intro:limit=250]]...</p> &else=<p>[[+content:limit=250]]...</p>]]
Do I need to change anything after the upgrade to get this working?
Many Thanks
Metadata
Metadata
Assignees
Labels
No labels