We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9849
    • 74 Posts
    If I enable PHx I cannot use the [+validationmessage+] placeholder outside the tpl chunk (&tpl). Inside the tpl it works.
    Version 1.4.4.6
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Yes, PHx plugin eats placeholders. You’ll have to either uncache your page (in the resource’s Settings tab) or use a wrapper snippet to return the placeholder’s value:
      return $modx->getPlaceholder['validationmessage'];
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 9849
        • 74 Posts
        Calling the snippet cached and unchecking the caching in document settings did it. Thanks.