Wednesday, January 27, 2010

Re: Dynamic Navigations

I got this working (although I have amended the model since but not updated this article - perhaps I should!). This might help as  a starting place.

http://www.jeremy-burns.co.uk/2009/11/cakephp-dynamic-navigation-bars/

Jeremy Burns

On 27 Jan 2010, at 16:06, Dave wrote:

I m trying to figure out the best way to create dynamic navigation but not sure where to start.
 
The idea is have a "manager" for main nav, left side, right side, footer so the admin can create or edit each nav from the manager. They most likely will not change from page to page so all the navs will be the same when used. I was thinking
 
tables
sections:
id
navigation_id
title => about Us
controller => information
action => index
 
navigations:
id
name => main, left, right, footer
 
Ideas?
 
Thanks,
 
Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: