Okay, I have a question. My docs table/model/controller/views thing is
working fine now but I'm not sure how to go about listing my docs in
the default layout.

I know that in my DocsController I can use $this->set('doclist',
$this->Doc->generateList(...)) to create the variable $doclist to be
used in my views/docs but how can I use that in
views/layouts/default.thtml? Do I need to put something in
AppController? Can I use $this->Doc in Appcontroller?


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