hi, I just started with cakephp so maybe my question is just stupid. anyway form what I learned cakePHP uses layout with all static content that can be mixed with predefined $title_for_layout, $scripts_for_layout, $content_for_layout. but that implies that $content_for_layout holds continuous block of dynamic content returned from view.
but what if my layout is composed from let say 3 separate pieces of dynamic code surrounded by static code. then I need to repeat all that static code in my view only to put everything into one variable $content_for_layout. is there any chance to put all static code into layout and use more than one variable for content that will be filled with dynamic content in my view. OK I can use view as layout and elements for those separated parts. OR maybe I try something stupid here. hope somebody will throw some light into my head :) thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---