here is a small example: in your main controller or better in the app_controller in /app
class AppController extends Controller { function beforeFilter() { $this->set($menu, $this->Categories->requestAction('/categories/getCategoryList')); } ... } /* not tested - just as a hint */ now you can access $menu in your elements and even in the layout. Siegfried 2007/2/17, Helmi <[EMAIL PROTECTED]>: > > i'll get attached to this. My current thoughts go in the same > direction. The only question is where to get the data for the element? > > I want to use a list of categories from the Category Model within my > menu and i don't really know how to access the data from the Category > Model within the elements. > > Any further help for this? > > Thanks, > Frank > > > > > -- Siegfried Hirsch hhS - Welserstr. 1 - 81373 M�nchen - (089) 5484 3564 - skype:shirsch http://gadgetgui.de / http://www.rss-blogger.de http://www.newsbee.de NewsBee 2 - customized RSS solutions --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---