Hi Phunkster,

preamble: the message "error rendering element" means that the element
couldn't be found - check file names etc, assuming you have a recent
version of cake.

Elements are used for 2 reasons:
1) To be able to reuse code across controllers (DRY)
2) To keep view files simpler

Without knowing which element you are referring to I can't answer, but
the reason is primarily 1.

Cheers,

AD7six


--~--~---------~--~----~------------~-------~--~----~
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