If you have header and footers that are common to multiple pages they
should be in the default layout.  There really isn't the need to
include them as files anymore using the layout templates.

If you have tiny segments of code that get used over and over in
various places setup a method in a controller and you can call it from
any other methods by requestaction, placing that result in a variable
that you pass to the view and echo.


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

Reply via email to