1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

How to trigger again a php file after record deletion?

Discussion in 'Community' started by mirceat, Oct 30, 2018.

  1. mirceat

    mirceat Member

    Level: Community

    I have a php file that generates a pdf file based on form information. Sometimes, the uses will delete a record in form and i need to regenerate the pdf file with newest information.

    I tried to allocate the php file in php form plugin using "After record deletion (onAfterDeleteRowsForm) but the php file is not triggered, ergo the pdf file is not regenerated.

    I also tried to add a simple return "test";exit; in the "Php code" for this plugin but nothing happen, I'm getting the "1 record deleted" message in list instead of "test"..

    So, how can i re run a php file after deleting a record?

    Thank you
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    mirceat likes this.

Share This Page