hello Dare!

it seems you got something wrong there...
the .phtml files are not meant to be called directly.
for the frames' src-attributes you'll have to provide a full URI calling
another controller's/module's action to output the frame content.


YT
BB



[ Björn Bartels                       ]

[ email :  bart...@dragon-projects.de ]
[ home  :   http://dragon-projects.de ]
[ skype :                  bb-drummer ]
[ icq   :                   283827160 ]
[ ----------------------------------- ]
Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

[ ----------------------------------- ]


Am 04.05.2011 um 14:04 schrieb Dare Williams:

Dear Developer,
Can anybody help with tips on how to implement a XHTML1_FRAMESET type on a Zend_Layout API in a Zend_Application(MVC). example.in your bootstrap resources plugin (setting.ini).resources.layout.layout = "main"resources.layout.layoutPath = "/path/to/layout" then on main.phtml you have this code<? $this->DocType() ; ?>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd "><html xmlns="http://www.w3.org/1999/xhtml";><head><? $this- >HeadMeta ; ?><? $this->HeadTitle ; ?><? $this->HeadScript; ?><? $this->HeadLink; ?></head> <frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0"> <frame src="top.phtml" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" / > <frameset cols="80,*" frameborder="no" border="0" framespacing="0"> <frame src="left.phtml" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" / > <frame src="mainDisplay.phtml" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset></frameset><noframes><body></body></ noframes></html> While mainDisplay.phtml stands as your main script that should load the Layout Content variable i.e <? $this->layout()->content; ?> My main question is how do you make <? $this->layout()->content; ?> works on the external script(src="mainDisplay.phtml") that is called on main.phtml on mainFrameset .
Thank you.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to