How to implement a sidebar in Zend Framework

前端 未结 3 1366
灰色年华
灰色年华 2021-02-03 15:07

How do I implement a sidebar in Zend Framework? I know that I can use a placeholder or something similar in Zend_layout, but how do I automatically generate the code for the sid

3条回答
  •  花落未央
    2021-02-03 15:44

    If you are using Zend_Layout, just add the sidebar with the Action viewhelper as Rufinus said.

    in your layout script:

    
    
    layout()->content; ?>

    This should meet the requirements posted in your question.

提交回复
热议问题