On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have some menus that are stored in the database. I want to show that
> menus in all the pages. In other pages we have controllers etc. within
> those i can use the logic for menus. but how to deal with  that in
> default.thtml as it does not have any controller.

You want to create elements for those menu items.

* read the manual section on elements
* go to the amazing IBM tutorial about CakePHP
http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html

Register for an IBM id if you do not already have one and go through
that tutorial.

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