On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks for you reply, sure i need to use the elements but for those
> elements from where i will get the data extracted from the database.
>
> For accessing the database for any layout or element we needs to have
> an controller and model. But for default.thtml's elements from where i
> can access the controller and models ?

This has already been answered in this mailing list before:

http://groups.google.com/group/cake-php/browse_thread/thread/5d13cf50b352ac34/da0b23aed45c8621?lnk=st&q=elements+default.thtml&rnum=5#da0b23aed45c8621

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to