using XHTML FRAMESET with Zend Layout on Zend_App (MVC)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux