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
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
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