|
|||
|
Hi,
a question again. Zend is rendering a layout. In my setting Zend takes the layout.phtml located in /views/scripts/layouts. How do I usally render the appropriate view? For example the /uesr/login.phtml. Thanks in advance for your help. Sebastian |
|
||||
|
in the layout, where ever you want the rendered view to show up:
<?php echo $this->layout()->content; ?> The Zend Layout and View Enhancements webinar is an excellent getting started resource and of course don't forget the Reference Manual and API docs |
|
|||
|
That works. Thanks.
I'm reading through the Reference Manual pretty often, but not on the whole, I have to admit. One has to know, where to look . I tried topics about layout, rendering and so on. $this->layout()->content - so what, now I became a bit wiser . Thanks again. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|