X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebHomeCommand.php;h=f9b6b97ff83e63d4c07c6f15c259049160e5cfd7;hp=56e112efccce88a8de1bca65accd17e312a78a9d;hb=1324b879f1d6d75c95be4a5da9dcdcc8c9a01557;hpb=3c434e072c5cee6940a462b1f4eb043c6bfc3aaa diff --git a/inc/classes/main/commands/web/class_WebHomeCommand.php b/inc/classes/main/commands/web/class_WebHomeCommand.php index 56e112ef..f9b6b97f 100644 --- a/inc/classes/main/commands/web/class_WebHomeCommand.php +++ b/inc/classes/main/commands/web/class_WebHomeCommand.php @@ -99,6 +99,12 @@ class WebHomeCommand extends BaseCommand implements Commandable { // *every* command has a navigation system and that is want we don't want. $menuInstance = ObjectFactory::createObjectByConfiguredName('home_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.