We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17851
    • 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)?
      Mark Macatee
      President
      Power 10 Solutions
      http://www.power10solutions.com
      • 4172
      • 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.


        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 17851
        • 213 Posts
        ah, ok, very nice. thanks.
          Mark Macatee
          President
          Power 10 Solutions
          http://www.power10solutions.com
          • 40762
          • 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