Hello,
I hope you are all doing well?
I need to understand a functionality with custom modules.
Indeed, I have created my own module that exploits HOOKS, MENUS, and TRIGGERS and it already works well. However, I have some modifications that I would like to apply to the Dolibarr interface, specifically on the COMM and INVOICE modules (Dolibarr’s Basic Modules), but I realize that the positions of the HOOKS that I find in the code are not in the position I want. I find myself stuck and I don’t want to be forced to MODIFY Dolibarr’s code.
How do I proceed?
In my thinking, I believed that by copying and pasting the /htdocs/comm folder into /htdocs/custom/mymodule/core/modules/ and modifying it, it would replace the code with mine… But it doesn’t work.
Please help me, for those who have knowledge on the subject.
I hope I have been clear in my message.
Best regards,
Ronny