joomla2.5 - Run custom php code in joomla module backend page -
I am using Joomla 2.5, I am working on a module. Some javascript loads in my module foreman. I will run some PHP code in the backend, when the admin clicks on the save button. How to do it
You can write a plugin that uses the first trigger, first when you press the save button , The plugin is run. You can do any verification on the data sent by the post, if this fails then just return false and you will return to your form.
Here you can see some documents on how to do this here:
Comments
Post a Comment