Я выводил пытаюсь вывести меню как в первом вашем варианте
<?php if($this->hasWidgetsOn('top')) { ?> <nav class="navbar navbar-inverse navbar-static-top" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand visible-xs-block" href="#">Меню</a> </div> <div class="collapse navbar-collapse" id="navbar-collapse-1"> <?php $this->widgets('top', false, 'wrapper_plain'); ?> </div> </nav> <?php } ?>
<?php $this->addMainCSS("templates/{$this->name}/css/theme-text.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/theme-layout.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/theme-gui.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/theme-widgets.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/theme-content.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/theme-modal.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/bootstrap.css"); ?> <?php $this->addMainCSS("templates/{$this->name}/css/font-awesome.min.css"); ?> <?php $this->addMainJS("templates/{$this->name}/js/jquery.js"); ?> <?php $this->addMainJS("templates/{$this->name}/js/bootstrap.js"); ?> <?php $this->addMainJS("templates/{$this->name}/js/jquery-modal.js"); ?> <?php $this->addMainJS("templates/{$this->name}/js/core.js"); ?> <?php $this->addMainJS("templates/{$this->name}/js/modal.js"); ?> <?php $this->addMainJS("templates/{$this->name}/js/messages.js"); ?> <?php $this->addMainJS("templates/{$this->name}/js/scroll.js"); ?>