Hi guys!
First of all, thanks for this great framework. I love it!
Here’s a question for you...
I’m working on a function that automaticly adds a new topic to my Invision Power Board along with the new document I’m creating in MODx. I want it to be controlled using a TV checkbox, saying something like "Create forum topic". When it’s activated and I click Save, I need this function to check if I did activate the checkbox or not, and run the neccessary script if it has to.
Now, where would I place this function? I’d love to add it as a module/plugin, instead of altering the core code, so it can easily be installed by other MODx members when I distribute it here after it’s done. How can I achieve this? Is there a way to make this a module/plugin, and easily have it "listen to" the template variable?
I’ve already written the neccessary topic adding PHP function and tested it. It’s using IPB-SDK classes for simple programming, instead of writing full advanced functions that takes ages to complete.
I think this would be a very important add-on to an already rich CMS, and I feel it’s important both for me and for other MODx users to have this function available for downloading. I’d be more than happy to program it, but I can’t do it without any help. Please share your knowledge with me for a brief moment, friends! Thanks