I have created a custom menu-layout called “menu.php” to layouts-directory. This menu-layout will be used in every page. At the moment I’m trying to render this menu-layout inside my default controller layout(which is defined in the controller) in the following way:
<!--
ADD MENU
<?php $this->renderPartial('//layouts/menu', array());?>
-->
However, it’s not rendering it. With this approach I don’t get even error messages. So my actual question is, how to render more views from layouts-directory to the same layout?