We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Are any system events invoked during these (e.g. render, prerender, beforeformsave, save) and, if so, how can I find out which ones?

    I haven’t been able to find the quick create code.
      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 28215
      • 4,149 Posts
      The events for saving are the same as a normal create/update action (ie, OnDocSave, etc). There are no events as of yet for the rendering; that will be more difficult, as they’re based solely in JS.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        Quote from: splittingred at Oct 14, 2009, 03:17 PM

        The events for saving are the same as a normal create/update action (ie, OnDocSave, etc). There are no events as of yet for the rendering; that will be more difficult, as they’re based solely in JS.

        It seems to me that the other events could be skipped for QC and QE. One would expect that they wouldn’t give you full service and writing a plugin that had to distinguish between Create/Edit and QC/QE might be a real pain. I suppose there are cases where you might want to alter some fields in the prerender phase no matter where you were, though.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting