You can use the elements. Put those elements in your template file and load the image dynamically by calling it from the element. You can use requestAction to call the query from a controller. You would have to make the controller first of course, just something to call the query
On Jan 11, 2008 4:03 AM, Novice Programmer <[EMAIL PROTECTED]> wrote: > Hello Guys, > > I am new to OO and cake, so please bear with me for my stupid questions. I > have got a legacy application to port to cake. On the index page of this > application, images are loaded on fly from the database. From the cake's > manual i got that replacing the cake's template with your custom template > will load your template, but before that I want to run some queries to the > database to populate that template. So My question is that where is the > start point of the application. Which model will the cake before even > loading the default.thtml so that i can pass the data from that model to > the index page view. > > -- > Thanks & Regards, > Novice (http://ishuonweb.wordpress.com/). > > > > -- Aria Rajasa Masna <a href="http://rajasa.com">PT. Rajasa Grafika</a> <a href="http://sharingfoto.com/aria">My Photo Album</a> <a href="http://rajasa.com/blog">My Blog</a> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---