using the Project Modul of Dolibarr, we would like to create the Directory-Structure (file-server) of the Project automatically by dolibarr. Therfore i’ve used the Trigger PROJECT_CREATE.
If the Project is deleted i’d like to delete the directory’s too - after a confirmation. And thats the point. I can write a Message out of the Trigger, wich confirms that the directory’s have been created, but i’m not able to show a dialog box like that one, which is shown if I want to delete a Project (confirm_delete)
Is there a possibility to show a dialog box? Or is that programmed for each modul seperately?
May be by injecting jquery javascript on page ( using hooks of oage), you can be able to add your own confirm popup instead of default one. It does not look easy. You can t use triggers for interaction.
I have exactly the same problem,
It looks like function $form->formconfirm returns always an empty string.
Is there a solution to this need?
Thanks
Marcello