Hi Martin. thx for the responses
i'll try the second one :) On 4 Set, 17:24, Martin Westin <martin.westin...@gmail.com> wrote: > You can create an empty element in all the other apps and just include > the element in the layout. > > You can also let the current app use another layout, one which > "inherits" the global layout. In this special layout you include the > menu element (somehow). I often work like this. With one base-layout > and a few special ones for different sections of an application. > > At it's most simple such a special layout would inherit the base one > like this: > echo $this->renderLayout('<div id="container">'.$content_for_layout.'</ > div>','base_layout'); > > As you can see this is a strictly hierarchal "russian doll" thing. > > On Sep 4, 4:37 pm, Ernesto <e.fanz...@gmail.com> wrote: > > > > > hello. > > > i have an element that contains a simple menu > > > i can't put this menu in the layout because the layout file is shared > > across many apps > > > my goal is to show the menu in every view of my app. > > > any idea? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---