We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36818
    • 119 Posts
    Dear all,

    I know about the weakness of email obfuscation. But the customer wants to have it...

    For obfuscation I use the Email Link Obfuscator 1.0.2.

    It works as Snippet-Call as it does as output modifier ([[$myChunk:emailObfuscate]]).
    But it doesn't work when I use this plugin in general with the systemcall "OnWebPagePrerender".

    What can I do that it parses automatically all the emailadresses on the site during the rendering process?
    btw: I'm working with Revo 2.1.3

    Thanks for your help.

    Fabian

    This question has been answered by lukemcd. See the first response.

    • discuss.answer
      • 17667
      • 108 Posts
      I believe that scripts uses the old syntax:
      $modx->documentOutput


      Replace with this syntax:
      $modx->resource->_output
        • 36818
        • 119 Posts
        Thanks lukemcd,

        that did the trick.

        all the best.
        f.