How to run a specific php file (or set of commands) after form is submitted ?

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 11 months ago #116243 by Andrea
Hi Tuan,

please pardon my short memory - but I can't remember how I can run a php file say "my_commands.php" once the form has been successfully submitted, or a set of php instructions ?

Many thanks!!

Regards Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #116244 by Tuan Pham Ngoc
Hi Andrea

Unfortunately, there is no way to do that in Events Booking. You will need to write a custom plugin for Events Booking which process onAfterStoreRegistrant event trigger to run the code you want eventbookingdoc.joomservices.com/develop...afterstoreregistrant

There are many plugins which process that event in Events Booking. For example, you can look at plugins/eventbooking/mailchimp as a sample and develop one for you (of course, you need to know programming to develop the plugin)

Tuan

Please Log in or Create an account to join the conversation.

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 11 months ago #116247 by Andrea
Hi Tuan I suspected it, many thanks anyway for the fast replies as usual!

Regards Andrea

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc