We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29861
    • 59 Posts
    Hi!
    It’s been a while since I haven’t post in the forums.

    My config (updated today): Revo 2.0.4-pl2 and login 1.4.0-rc1

    I always run into this problem and I really don’t understand because it seems to work for other people (I copied it from modX documentation). The following code make my page content disappear:

        [[+login.update_success:if=`[[+login.update_success]]`:is=`1`:then=`[[%login.profile_updated? &namespace=`login` &topic=`updateprofile`]]`]] 


    this still doesn’t work:

        [[+login.update_success:if=`[[+login.update_success]]`:is=`1`:then=`<div class="form_message">Your profile has been successfully updated</div>`]] 


    but THIS WORKS:

        [[+login.update_success:if=`[[+login.update_success]]`:is=`1`:then=`<div>Your profile has been successfully updated</div>`]] 


    I guess this comes from the = and ? but I thought this was a long time gone issue.
    I used to do a snippet that replaces -eq- by = and -q- by ? but tell me there’s another solution!!!

    Thank you,

    Thierry.
      • 22303 MODX Staff
      • 10,725 Posts
      I believe this may be an issue with output filters; ? & and = all work in normal tags strings without output filters applied. If you can confirm this bug and enter it in our bugtracker, that would be awesome.