Maybe using ajax call to update a div in your default layout, but depends how often your layout is renderer (ie : mainly ajax calls or not). You can also place a requestAction in your default layout to retreive the data and display them.
On May 2, 12:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all, > > I have my web application made in CakePHP. In the "default.thtml" I > have a section where I need to load dynamically some categories from > the DB...how can I do that? I have, of course, the Category model and > the controller ready. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
