We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21056
    • 327 Posts
    I’ve done some work to add a new feature to make plugins easier and quicker to install. I’ve added some JS to the plugin add/edit page which parses the plugin code, looks for the doc_block (now used in the installer) and extracts details such as name, description, version, events, preferences, etc and populates the rest of the plugin form. If it’s an update to an existing plugin, any existing config values which have been set aren’t overwritten.

    It utilises some of the existing JS for manipulating config params from the page, which frankly could do with a bit of updating, perhaps as part of the manager updates for 1.1. I wrote it in MooTools - my first proper go at using it. I have to say I still prefer jQuery...!

    I’d appreciate any testing or feedback before I extend to snippets and modules.

    I’ve checked in to 1.1 branch of SVN, and attached the single updated file /manager/actions/mutate_plugin.dynamic.php here.
      Author: ManagerManager plugin - customise your ModX manager interface

      Rckt - web development, Sheffield, UK
      • 25663 MODX Staff
      • 12,272 Posts
      Thanks Nick; great contribution! smiley
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me