We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28008
    • 23 Posts
    I’m trying to find out if there are standard MODx functions I can call from within my own snippets and plugins that will enable me to add resources to the resource tree. Instead of writing a custom function for this, I was hoping there are certain function I can call within my scripts. I prefer making use of the latter since it will ensure me all is done according to MODx "regulations".
      For those about to rock... I salute you
      • 4172
      • 5,888 Posts
      There are for example these classes out there. Both have usefull functions for creating and editing resources with own snippets, plugins, modules:

      http://modxcms.com/forums/index.php/topic,5983.0.html
      http://modxcms.com/forums/index.php/topic=35663.0.html
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 28008
        • 23 Posts
        Great, thanks for the response.

        I already did find CakeMODx soon after I created this topic. The other API I was unfamiliar with. Checking both methods out now.
          For those about to rock... I salute you