dolibarr/htdocs/modulebuilder
Alexandre Janniaux 4a3407aa82 FIX #24653 modulebuilder: replace /myobject/ in includes
The templates view, like myobject_card.php are including the following
files:

    dol_include_once('/mymodule/class/myobject.class.php');
    dol_include_once('/mymodule/lib/mymodule_myobject.lib.php');

The mymodule value was replaced correctly, but the myobject value
wasn't, leading to another classfile beind included when, for instance,
creating new `myobject` objects (whatever myobject actually was, except
myobject of course), and resulting in PHP errors like:

     Fatal error: Uncaught Error: Class "DemoObject" not found in
     /var/www/html/custom/demobug/demoobject_card.php:105 Stack trace:
     #0 {main} thrown in
     /var/www/html/custom/demobug/demoobject_card.php on line 105

Fixes #24653
2023-05-01 16:10:05 +02:00
..
admin MODULEBUILDER_SPECIFIC_EDITOR_NAME/URL is now a stable option 2022-10-12 14:06:30 +02:00
template Clean code 2023-04-29 13:13:12 +02:00
index.php FIX #24653 modulebuilder: replace /myobject/ in includes 2023-05-01 16:10:05 +02:00
README.md Doc 2023-01-06 14:58:49 +01:00

Module Builder

This is a module to provide embedded tools to develop your own application/features inside Dolibarr ERP CRM software. It provide tools for module developers to kickstart their project and give an hands-on sample of which features Dolibarr has to offer for module development.

If you don't need to develop your own module/application, you just don't need this.

After enabling this module, you should find features to generate or edit modules/application from menu Home - Tools - Module builder

Documentation

Module tutorial

Dolibarr development