Adds support in the admin for activating and deactivating modules.

The module overview in the admin presents a list of all modules, ordered by module status and priority. An activate/deactivate button allows the module to be (de)activated.


Module configuration dialog

When activate, some modules have a “configuration” button next to the activate/deactivate button. In that case, you can click the button to pop up a configuration dialog where you can set options which are required to configure the module.

To create such a dialog yourself, include a template called _admin_configure_module.tpl in your templates/ folder in your module.

Edit on GitHub



Shows the list of Zotonic modules currently known to the system.

Dispatch rules


Dispatch rules Name Path Resource Args admin_modules [“admin”,”modules”] controller_admin_module_manager…



Rescans all modules, to find all templates, lib files, dispatch rules, etc. again.


Activate/deactivate a module in the module manager in the admin interface.

Referred by


Modules are the building blocks of Zotonic. They add functionality to your Zotonic website such as:

All dispatch rules

All the dispatch rules from all modules. For a background on dispatch rules, see The URL dispatch system.