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?


_header:
<head>foo bar metadata etc...</head>
<body>
include('_left_menu')
<div class="mainPageContainer">


_left_menu:
<div class="leftMenuContainer">
  lots of menu related code
  <div class="contextRelatedDiv">
In here I would like to display content dependent on the action being performed
  </div>
</div>


_footer:
</div> <!-- close mainPageContainer -->

--
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