-
- 213 Posts
I'm using MIGXdb for a CMP. I've got a plugin that I've used for Resources when OnDocFormSave is called and I'd like to implement the same thing on my custom db records. What's the easiest way to do this without customizing/changing the MIGX code (like the update.php)?
-
- 5,888 Posts
you can create your own update.php
either create a new folder under migx/processors/mgr/yourprocessorsdir/update.php
and put in the MIGXdb - configuration 'processorspath' : yourprocessorsdir
or if you have defined a packageName you can create a path
yourpackage/processors/mgr/default/update.php
or
yourpackage/processors/mgr/yourprocessorsdir/update.php
MIGX searches for processor-files under all this folders
if no one was found, it uses the processor under its own default-folder.
-
- 213 Posts
ah, ok, very nice. thanks.
-
- 54 Posts
Hello everybody,
I was willing to implement babel to my migxdb elements that uses resources. I stumbled on this thread. Is there a way to register hooks like OnDocFormPrerender so I can implement it and do I actually instantiate it...
It seems feasible however It would be very appreciated to get a starting point
thanks
mark
Marc-Andre Audet