Menu calls added (stubs)
[core.git] / inc / classes / main / commands / web / class_WebLoginAreaCommand.php
index 8eb65a931167975c77a65757121704c9f0ecf7ea..15ef12d8b7e95e5a29b650d75e9419697089a185 100644 (file)
@@ -136,6 +136,12 @@ class WebLoginAreaCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('login_area_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.