joomlamate
Member
I display a list module inside the details page of another list/form.
I am trying to run some code using the List PHP Events plugin - onDelete Hook - to delete records on other tables when a Row of the above list is deleted through the module (using the delete button on the right of each row).
But there, the $model->rowsToDelete is always empty. -Well not always empty. Sometimes it is, others it is not, and I can't say for sure, when it is happening and when it's not, and this has totally baffled me.
How can I make sure I am reaching the "rowsToDelete" of that list inside my module?
I suspect the fact that the module exists inside the details of another list/form might be the issue here.
I have tried with both Ajaxified module and without it among other things (which I don't remember to mention all here, as I am fighting with this for some days now.
Any input or other ideas would be highly appreciated!
I am trying to run some code using the List PHP Events plugin - onDelete Hook - to delete records on other tables when a Row of the above list is deleted through the module (using the delete button on the right of each row).
But there, the $model->rowsToDelete is always empty. -Well not always empty. Sometimes it is, others it is not, and I can't say for sure, when it is happening and when it's not, and this has totally baffled me.
How can I make sure I am reaching the "rowsToDelete" of that list inside my module?
I suspect the fact that the module exists inside the details of another list/form might be the issue here.
I have tried with both Ajaxified module and without it among other things (which I don't remember to mention all here, as I am fighting with this for some days now.
Any input or other ideas would be highly appreciated!
Last edited: