We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20217
    • 5 Posts
    hi community,

    i found a weird behaviour in a modx installation. Well, everything works fine except of one thing. I am using a filter with the modifier "is" for the content in my template. Something like:

    [[*stdcontent
    :is=`yes`
    :then=`[[*content]]`
    :else=`<markup>[[*content]]</markup>`
    ]]
    


    also i have a chunk in which i am using a formit contact formular. the chunk is called in a resource. but [[*stdcontent]] is empty. neither the chunk is called nor the content around the chunk inside the resource content is called.

    after some debuging. i figured out that when i am removing the "@" char from the formit "&emailTo" property inside the chunk, everything is working fine. also i tested how the content looks when i am removing the TV [[*stdcontent]] and use [[*content]] directly instead. everything works fine then.

    might it be that there is something not quoted well in the core php code? i did not checked it out yet.

    i am using php 5.2.17 in cgi mode. my modx revoltion version is 2.1.1pl traditional. i have no error.log output. mysql is version 5.0.92 (client api). formit is version 1.7.0pl.

    what do i make wrong? is it a bug?

    well, i have a work around to set the mailto directly in the formit snippet properties. but every update is reseting that.

    any ideas?
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Does sound a bug to me...

      Perhaps you can post your entire content as well to see if there may be anything in there that could explain the issue (mismatched tags or something)?

      If that doesn’t show anything out of the ordinary I guess you can go ahead and file it at http://bugs.modx.com/projects/revo/issues
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.