You should look into elements and view blocks http://book.cakephp.org/2.0/en/views.html#using-view-blocks
http://book.cakephp.org/2.0/en/views.html#elements On 12 Mar 2014, at 00:22, Carlos Moreira <[email protected]> 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
