2009年10月20日星期二

[fw-mvc] headTitle view helper append

Hi.

I have in my layout.phtml

<?= $this->headTitle('site.com')->setSeparator(' > ') ?>

in my view script I have

<?= $this->headTitle('my view') ?>

This generates title

<title>my view &gt; site.com</title>

I expected <title> site.com &gt; my view</title> since default set is
Zend_View_Helper_Placeholder_Container_Abstract::APPEND. Looks like layout
is appending title to view?

Regards,
Saša Stamenković.
--
View this message in context: http://www.nabble.com/headTitle-view-helper-append-tp25971209p25971209.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: