X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebRegisterCommand.php;fp=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebRegisterCommand.php;h=d65c23ecc5df80658fe50a09178384b79cdb1929;hp=d72a3acd885cbb9e488aabf8eef49e2d77591497;hb=1324b879f1d6d75c95be4a5da9dcdcc8c9a01557;hpb=3c434e072c5cee6940a462b1f4eb043c6bfc3aaa diff --git a/inc/classes/main/commands/web/class_WebRegisterCommand.php b/inc/classes/main/commands/web/class_WebRegisterCommand.php index d72a3acd..d65c23ec 100644 --- a/inc/classes/main/commands/web/class_WebRegisterCommand.php +++ b/inc/classes/main/commands/web/class_WebRegisterCommand.php @@ -106,6 +106,12 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl // *every* command has a navigation system and that is want we don't want. $menuInstance = ObjectFactory::createObjectByConfiguredName('register_menu_class', array($appInstance)); + // Render the menu + $menuInstance->renderMenu(); + + // Transfer it to the template engine instance + $menuInstance->transferToTemplateEngine($templateInstance); + // ... and all variables. This should be merged together in a pattern // to make things easier. A cache mechanism should be added between // these two calls to cache compiled templates.