How to use Zend_Layout ?
Hello all,
i recently switched from SmartyView to default Zend_View and Zend_Layout components as i found them really interesting and offer the same functionality as smarty does.
Anyway, i have few questions:
1. How could tell Zend_View not to render action views automatically?
I would like to set by hand what page needs to be rendered in a specific point of the layout.
2. How to set values for placeholders (eg. $this->layout()->somevar in the view) from the controller?
Thanks.
Last edited by MiK : 06-03-2008 at 02:04 PM.
|