Hey Chris, I found the quickest way is to use the generate-admin task to create a new admin generator based on a particular model, and then move that generated module into a plugin. The only thing you need to watch out for is to register the routes "manually", because you can't package a routing.yml with the plugin. When you look at the sfGuardPlugin you can see how that's done.
Daniel On Aug 16, 2:55 pm, Chris Renfrow <frowt...@gmail.com> wrote: > What I am trying to do is convert my commonly used modules and > converting them into plugins. I want to install these plugins on the > servers symfony installation / lib / plugins level so that all my > website applications can access the same plugins. > > I have the fontend work, I am able to make calls to my plugin and its > working out great. However I am having a hard time getting my plugins > to work with the admin generator. I tried to see how sfGuard is doing > it but did not get very far with that approach. What is the best > approach to getting a module into the "Admin" App so that I can create > new records and edit those records? I would prefer for the "admin" for > the plugin to be the same for each site and I would really like it I > just had to edit the apps/admin/config/settings.yml to include the > plugins admin module and then setup routing and be set. > > Any advice or links would be awesome, been searching and hacking at > this for the past 4 hours, thought it was about time to ask for help. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---