Thanks for the replies... I am trying to get dynamic content into the default layout (a side bar containing latest news items).. thats why I can only think of using requestAction... does that make more sense?
Thanks Gary On Feb 7, 4:28 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Feb 7, 2008 11:16 AM, benniog <[EMAIL PROTECTED]> wrote: > > > > > Whats the alternative? > > I need to get data from the DB and i cant think of any other way to do > > it... > > Um, what's wrong with using the existing methods in a model or > creating custom methods in your model to return the data in the format > you need, then pass it to the view or wherever else it needs to go. > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard:http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
