Hi,
when I use this code in a chunk (form for updating a profile from
http://rtfm.modx.com/display/ADDON/Login.UpdateProfile):
[[+login.update_success:if=`[[+login.update_success]]`:is=`1`:then=`<p>[[%login.profile_updated? &namespace=`login` &topic=`updateprofile`]]</p>`]]
I get the following output in the front (only this and nothing else from the chunk):
`:is=`1`:then=`<p>[[%login.profile_updated
and MODx stops rendering the rest of the chunk.
When using
[[+login.update_success:if=`[[+login.update_success]]`:is=`1`:then=`<p>Hardcoded text without using lexicon</p>`]]
everything works fine.
The MODx parser seems to have some problem with this syntax?
Some time ago I’ve posted a bug (which has been rejected) which may be related to this:
http://bugs.modx.com/issues/2917
Or am I doing something wrong???
Thanks,
Jakob