We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37054
    • 93 Posts
    I am using MIGXDB to create a custom CMP and it has really saved me a lot of work Now, I would like to customise the onSubmitSuccess function in the updatewindow template. Specifically I would like to display a success message I am adding to the standard response from my custom update processor.

    So my question is; can I use a custom updatewindow.tpl file or is there a way using the winfunctions array that I can override the existing onSubmitSuccess function to add code to display the success message?
      • 37054
      • 93 Posts
      Actually I have just figured out myself that I can overwrite the MIGX config 'templatesPath' item to set the path to my own customised templates which does the job nicely.

      in /core/components/migx/configs/migxconfigname.config.inc.php

      $this->config['templatesPath'] = 'path to custom templates';