Ah i see, but normally you would load the function of the controller through the url blog/post where index would be the function. But how can you load this function without having it in the url? I could think that maybe i can put it in the constructor of appcontroller but this would not be really good code i think, what if i wanted other things availalbe except the menu then i would need to put it all in the constructor, so is there any other way to do this ?
On Feb 19, 5:39 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > Ok so i render it now in default.thtml so it is everywhere, does that > > mean that i must do the data handeling in app/app_controller.php > > yes, or in each controller if you want it to change. You could set a a > default value for the array in the app_controller, which you can then > override in your other controllers depending on what you want. > > hth > > jon > > -- > > jon bennett > t: +44 (0) 1225 341 039 w:http://www.jben.net/ > iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
