开发者

create several blogs in zend framework

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜