DEV Modules facilitates the secure development and testing of REDAXO modules during operation. You can create a DEV copy for each LIVE module, use it specifically in the frontend, and overwrite the LIVE module with it if necessary—without compromising the public site. In addition, the add-on offers visual module management, which is handled by calls to the backend. This module management allows you to manage modules from the frontend and add them at any location. There is also a button for displaying the DEV copy instead of the LIVE module, if a copy exists. The page also has a button that takes you directly to edit mode.
- Create DEV copy: creates a second module with the suffix "[DEV]" for a LIVE module.
- Overwrite LIVE with DEV: transfers the current DEV status to the LIVE module.
- Delete DEV copy: removes the DEV variant and its assignment.
Helpful controls can be displayed in the frontend—only for logged-in REDAXO users:
- Edit page: Direct link to the edit mode of the current page.
- Options Mode: displays administration buttons for each slice/module:
- Open, edit, delete, change status (online/offline)
- Copy, cut (blocks)
- Move up/down
- Add block between existing modules
- DEV Mode: Renders the DEV copies in the frontend instead of the LIVE modules. Ideal for testing new outputs without affecting live visitors.
Frontend Options active in Settings (shows the buttons below when signes in: edit page, options Mode und DEV Mode)
Frontend Options: DEV Mode active (shows linked DEV modules instead of the LIVE ones created in the addon settings)
- LIVE / DEV Modules: List of all modules with actions – Create DEV copy, overwrite LIVE module, delete DEV copy.
- Frontend options: Switches for “Edit page,” “Options Mode,” “DEV Mode,” and the individual buttons (Edit, Move, Copy, Cut, Status, Delete).
- The frontend tools only appear for logged-in REDAXO users (backend session).
- Optionally, the output can be restricted to admins.
- AddOn permission: dev_modules[] (controllable for roles).
- In LIVE / DEV Module, click “Create DEV copy” for a module.
- Edit and test the DEV module.
- Activate DEV mode in the frontend → Page displays the DEV modules.
- Is everything OK? → “Overwrite LIVE module”.
- LIVE module is overwritten by DEV
- The modules are cleaned up accordingly.
To use the add-on, it must be installed and stored in the template <?php echo getArticleContent(); ?>, which checks how the article slices of the modules are processed based on the active mode.
- Redaxo version: 5.15.0
- blOecks >= 5.2.0 for cut & copy and slice moving