render('layouts/header. Phtml'..." />
You could include your header and footer files from within your layout. Phtml file. Here's an example: div id="header">render('layouts/header.
Phtml')? > render('layouts/nav. Phtml')?
> layout()->content? > render('layouts/footer. Phtml')?
You could include your header and footer files from within your layout. Phtml file. Here's an example: render('layouts/header.
Phtml')? > render('layouts/nav. Phtml')?
> layout()->content? > render('layouts/footer. Phtml')?
Cballou's answer is likely what you want, but I thought I'd throw this in there for good measure. If you'd like to render separate header and footer view scripts in different parts of your site, you can do it from within each controller like so: Zend_Loader::loadClass('Zend_View'); $header = new Zend_View(); //Set header variables here $this->view->header = $header->render('header. Phtml'); Then use $this->header to pull the rendered header from within your layout.
Likewise with the footer.
I didn't know that I can store rendered html in a variable! Thanks a lot! – Moon Oct 27 '09 at 0:36.
This will go in the controller: $this->view->header = "header. Phtml"; and this will go in the view: include($this->header); Even if we do not use the controller only view we can use: include("header. Phtml") cheers.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.