We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32963
    • 1,732 Posts
    Hi everyone,

    I hope you’re having a wonderful holiday season smiley

    This topic is in relation to the Late Parsing concept that was mentioned here:
    http://modxcms.com/forums/index.php/topic,1568.msg10535.html#msg10535

    Late parsing can cause some Widgets, CF, Templates etc to not be processed during single pass mode. I will be adding what can be reffered to as dual pass mode to the parser in an effort to combat the problem possed by late parsing.

    The Dual Pass Parser concept is the same as parsing the source twice with the only difference here being that code is only parsed a second time if a [[]] tag is found.



      xWisdom
      www.xwisdomhtml.com
      The fear of the Lord is the beginning of wisdom:
      MODx Co-Founder - Create and do more with less.
      • 25663 MODX Staff
      • 12,272 Posts
      Sounds very reasonable and opens up another avenue for flexibility. For example it could allow a widget to return different widgets in a case statemetn for different user types.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me