We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32241
    • 1,495 Posts
    Guys, we need the fix from this post to be applied into our distribution package. I notice that the problem from the earlier version still persist on v0.9.2 & v0.9.2.1. Maybe someone with access to the SVN can commit this wink
    http://modxcms.com/forums/index.php/topic,1942.msg18783.html#msg18783

    Sincerely,
      Wendy Novianto
      [font=Verdana]PT DJAMOER Technology Media
      [font=Verdana]Xituz Media
      • 32963
      • 1,732 Posts
      Thanks Wendy,

      I’ll try to see if I can get it inside the trunk.
        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 32241
        • 1,495 Posts
        No problem Raymond.

        Thanks.
          Wendy Novianto
          [font=Verdana]PT DJAMOER Technology Media
          [font=Verdana]Xituz Media
          • 7923
          • 4,213 Posts
          @Raymond
          The fix above don’t fix whole issue.. Be sure to look at the last page of that thread. OpenGeek knows some other problem with this too, I think it was that if called in cached page, even with uncached call, the first user that visits the page doesn’t get the scripts registered.. Maybe Jason can comment on this more, but anyways.. just to be sure that this will get fixed properly.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 32241
            • 1,495 Posts
            I’m not 100% sure because I tested this solution a couple months ago. But as far as I can remember, when I applied the fix from Adam and mine, everything is working just fine with this 4 different situation:
            - uncached page - uncached snippet
            - uncached page - cached snippet
            - cached page - uncached snippet
            - cached page - cached snippet

            From what I can see from the current document parser code in v0.9.2.1, the fix had all been applied to the function regClientStartupScript, but the one that I have has not been fixed.

            It’ll be best to test the above condition again before comitting the code.

            Regards,
              Wendy Novianto
              [font=Verdana]PT DJAMOER Technology Media
              [font=Verdana]Xituz Media
              • 32963
              • 1,732 Posts
              Ok I’ll double check this out but I think the new Parser should fix this problem. I’ll double check on this

                xWisdom
                www.xwisdomhtml.com
                The fear of the Lord is the beginning of wisdom:
                MODx Co-Founder - Create and do more with less.