Issue Feature Closed

#49643Allow flexible configuration for BE submodules, disable the page tree for submodules

Benni Mack 07/03/13, 16:42 updated 10/02/18, 12:12

Description

Previously Backend modules could be configured
via a conf.php file that had $MCONF and $MLANG
variables. Additionally, a Extbase extension could
add more configuration via another API method.
However, the building of the module list
(ModuleLoader) and the internal rendering for
ExtJS (ModuleMenuView) is quite tricky and hard
to override.

The public API call
ExtensionManagementUtility::addModule() has another
parameter now to ship additional configuration that will
override $MCONF from conf.php, or even replace
that information completely, so conf.php will be obsolete.

This is a prerequisite for overriding the configuration
“navigationComponentId” to allow the page tree in other areas
than the web module. Additionally, the if the new option
“inheritNavigationComponentFromMainModule” is set to
FALSE (TRUE if not set), then e.g. a web_* module can have
the page tree disabled.

Reviews 1