In generator.yml, under list specify table_method and table_count_method(optional). These are the methods used on the Doctrine_Table instance for your model to power the list.
- Jon On Mon, Apr 20, 2009 at 7:33 AM, Don Pinkster <d...@pinkster.eu> wrote: > > Hello, > > I want to use the same symfony application for multiple domains. The > layout is all the same and all website have the same elements. > On the frontend I use the $request->getHost() to filter my queries for the > specific domain. > > Now the interesting part, I want the same thing for the admin generator. > Only the records the user of that domain may edit should appear in the > list. > I browsed the source code of the generated actions and noticed I could use > the pageGeneratorConfiguration to customize the getFilterDefaults. > > Is there a more elegant way to accomplish this? > > Thanks in advance! > > > > -- Jonathan H. Wage Open Source Software Developer & Evangelist http://www.jwage.com http://www.doctrine-project.org http://www.symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---