开发者

create several blogs in zend framework

开发者 https://www.devze.com 2023-01-03 08:38 出处:网络
Hi I\'m developing a CMS with zend now My problem is how can I have two or more blog in this CMS I can make module with separate layout but which code I must add to my layout two show 开发者_C百科blog

Hi I'm developing a CMS with zend now My problem is how can I have two or more blog in this CMS I can make module with separate layout but which code I must add to my layout two show 开发者_C百科blogname or else ... maybe is another way?


You may just add another parameter to the action: module/controller/action/..../whichblog/second/ and create the controller plugin switching the layout and the logic.

You may be interested in creating blog service instead blog module.

0

精彩评论

暂无评论...
验证码 换一张
取 消