I am still fairly new to cake and am trying to get some more info on how to do a dynamic submenu using components and elements, and have looked thru some of the posts and the manuals and can not seem to get a good example or explanation on this, most of it points to the old wiki which is no longer there. But here is what I want to accomplish:
"Main page A" may have 3 sub pages to it, so want to display the sub pages in a side bar sub nav "Main page B" may have 6 sub pages to it, so want to display the sub pages in a side bar sub nav Now the sub pages will not be the same for each "main page" area of the site. And some of these sub pages are going to be static text. But I am wondering how can I use components and elements to set these sub page navigation areas and display in the default layout. An example of this is the legal disclaimers. So in the legal controller I will have 4-5 functions for the following : Terms of Use, Privacy Policy, Contact Info, Abuse, etc. Things that should not change all that often. So in the model, I have it set to $uses = NULL so it does not look for a table. and then created a Legal sub dir in the Views. How could I use components/elements to load the sub nav for legal? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
