Hello,
I’ve just released AddCustomCode (French: Ajout de code personnalisé JS et CSS) on the Dolistore:
Working directly in Dolibarr’s core code can be complicated. This module lets you EASILY and QUICKLY add custom code into Dolibarr’s interface.
The core idea behind it is simple:
No hassle to fix, no hassle to deploy, no hassle to maintain.
It allows you to inject JS or CSS dynamically into Dolibarr pages, either globally or restricted to specific page groups.
Use cases
- Improve user experience: add custom JS to simplify workflows. jQuery might become your new best friend.
- Enhance design: inject CSS to make Dolibarr visually cleaner and more consistent.
- Fix production bugs: no need to wait for the next version — apply quick fixes or workarounds instantly.
- Avoid hooks: in some cases, custom code can replace the need for complex hook implementations.
Concrete examples
- Hide unwanted elements to simplify the UI.
- Insert HTML snippets to provide contextual information to users.
- Reorganize forms for better usability.
- Enhance or replace existing HTML elements.
- Adjust CSS on specific pages.
- Automate form field filling based on business logic using JS.
- Add custom JS features like sorting or searching within tables.
Demo
- Login: democustomcode
- Password: democustomcode
- Entity: AddCustomCode
All feedback is welcome.
This module is designed for developers and tinkerers who need to make small, targeted adjustments to Dolibarr.
Have a great day!




