Hi,

I think you're looking for elements. You can render elements within your
layout, such as a menu, search, etc. Your $content-for_layout is the content
that is to go within the layout for the page. That variable will be set to
the content of the view that was rendered.

Only make new layouts when, well, you want new layouts.

Controllers are used for the various, section sof a site so to speak. For
instance, there might be an ArticlesController that has actions (methods)
such as index, view, add, edit, delete, search, etc.

Brandon


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to