I have a view helper that is used in my layout file, which (among other
things) adds CSS to the document head using the HeadLink helper. The problem
is that the helper is using HeadLink *after* the layout calls "echo
$this->headLink();", so the CSS is never output.
Is there no way of adding CSS to the head from within a layout file (after
the document head)?
I would have liked to have avoided CSS in the body.
Glen.
--
View this message in context: http://www.nabble.com/Using-HeadLink-from-a-view-helper-%28in-the-layout%29-tp20892525p20892525.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论