Deanna Bonds-2 wrote:
> 
> I think what you are looking for is named capture regions.  You layout 
> all your static layout in the layout.phtml file (or whatever your name 
> for the layout file is).  Then in your views you use named placeholders 
> (capture sections) for the content you want to insert in sections.  In 
> your layout you would echo out those captured sections where they 
> belong.  This lets the view change the content and layout does what it 
> is supposed to do.  For a reference on placeholders and captures look 
> here 
> http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.placeholder.capture
> 

Hi, Deanna.

I have read this section of reference guide multiple times but never seen a
real use case for this capture placeholders. Now i do! Seems like what i was
looking for! Thank you very much for your reply.

Good luck.
Dmitry.

-- 
View this message in context: 
http://www.nabble.com/Placeholder-view-helpers-in-partials-don%27t-work-for-layouts--tp24042045p24057551.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to