Try changing $recursive model attribute just before the findAll() call, $this->Gallery->recursive = 2;
or alternatively you can set $recursive parameter of findAll() function. On Dec 19, 2007 7:52 AM, Jeremi <[EMAIL PROTECTED]> wrote: > > I have a file model that belongs to an image model that belongs to a > gallery model. When I'm in the gallery controller and do a findAll() > galleries, it loads the galleries and their corrosponding images. But > the images do not load the File model. I assume it's because it only > loads to a certain depth, is there any way to change this? > > > > -- Thanks Anupom Trippert Inc. [http://www.trippert.com] GopherNow. [http://www.gophernow.com/] Homepage. [http://www.anupom.wordpress.com/] -- Thanks Anupom Trippert Inc. [http://www.trippert.com] GopherNow. [http://www.gophernow.com/] Homepage. [http://www.anupom.wordpress.com/] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
