On 9 Nov 2007, at 09:17, Dan Field wrote:

Imagine a fairly typical header, left menu, right content area, footer type layout:

you have a _header.phtml file which you include in all view scripts and likewise for the footer. You also create the _left_menu.phtml view script and include this in the header. All other scripots just include the _header and _footer. My question is: How can I go back and put some page dependend content into the left menu bar when It's been created already by the header?

To answer my own question, it would seem that ViewRenderer and Layouts is what I was after.

http://akrabat.com/2007/06/02/extending-viewrenderer-for-layouts/

--
Dan Field <[EMAIL PROTECTED]>                   Ffôn/Tel. +44 1970 632 582
Peiriannydd Meddalwedd                                 Software Engineer
Llyfrgell Genedlaethol Cymru                   National Library of Wales



Reply via email to