【发布时间】:2014-06-12 19:04:26
【问题描述】:
如何禁用 ZF2 控制器中特定页面的特定布局(例如:menus.phtml)?在下面的示例中 menus.phtml 应该对特定页面禁用。其余页面必须包含 menus.phtml,例如页眉和页脚。
<div>
header.phtml
</div>
<div>
menus.phtml
</div>
<div>
<?php echo $this->content; ?>
</div>
<div>
footer.phtml
</div>
【问题讨论】: