0

I have a module based application with a default and a user module. My Navigation menu which is called from the layout is working fine, but now want to create a sidemenu. I would like to call it from the e.g. language.phtml in user/settings/language.

in my language.phtml

...
<?php echo $this->navigation()->menu()
    ->setPartial('partials/sidemenu.phtml')
    ->render(); ?>
...

This partial is in the scripts directory in the user module. The partial is being called but for some reason the navigation/container object is empty.

Thanks in advance!

Peter

Sephen
  • 1,111
  • 3
  • 16
  • 38

0 Answers0