2008年11月24日星期一

[fw-mvc] Multiple action and headTitle view helper

Hello, when I use multiple actions with Action view helper, the headTitle helper is called multiple times and in layout I obtain a duplicate title of the main action and of the sub task. This break reusing of actions. What can I do to avoid this?
e.g.
Article action has a $this->action() call in the view that includes the comments action (list of comments related to the article). The title become: "Article title - Article title comments".
Thanks,

--
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://www.sourceforge.net/projects/ossigeno

没有评论: