Topic: Adding pages with custom PHP scripts  (Read 365 times)

Pages: [1]   Go Down

#1: 25-Nov-2009, 06:16 AM


sonoind
Posts: 14

WWW
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

#2: 25-Nov-2009, 07:32 AM

Bruno17
Posts: 557

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

#3: 26-Nov-2009, 08:11 AM


sonoind
Posts: 14

WWW
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
Pages: [1]   Go Up
0 Members and 1 Guest are viewing this topic.