Wednesday, March 12, 2014

Re: Nested Templating?

You should look into elements and view blocks




On 12 Mar 2014, at 00:22, Carlos Moreira <moreira.carlos09@gmail.com> wrote:

Hello All,

I am wondering if CakePHP has anything similar to what the .Net Framework has with nested templates. 

This is what I am trying to do :

I want a specific menu to appear in all my views when I enter a certain controller. What I am doing right now is placing the same navigation in all my controllers views. So View,Edit,Delete etc... all have a special navigation for that controller. But If I want to edit that navigation I need to do it for as many views I have for that controller. 


Is there a way to clean this up a bit? Maybe something I dont know about in CakePHP,

Thank you

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: