How to properly use layout when using script includes in the head-Zend Framework
Posted
by Joel
on Stack Overflow
See other posts from Stack Overflow
or by Joel
Published on 2010-05-20T02:45:50Z
Indexed on
2010/05/20
2:50 UTC
Read the original article
Hit count: 265
zend-framework
|layout
What do you do if you need to have a script file in the head section that is only used on one page, but all the pages can use the same head otherwise?
Right now, I'm doing:
<?php include header info?>
<script></script?
<?php include rest of header info>
<body>
...
I'm trying to figure out how best to do this with the layout.phtml
Any tips? Thanks!
© Stack Overflow or respective owner