Dynamic Navigations
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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Dynamic Navigations
You could create XML sitemaps from which you draw the actual urls and text for your navigation links. Then create an admin tool (page) to administer those XML files. That is pretty common in professional web development. On Wed, Jan 27, 2010 at 9:06 AM, Dave make.cake.b...@gmail.com 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+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en -- Nathan Lane Blog, http://blog.nathandelane.com 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en