If you want to edit a doctrine nested set, you can use the swWidgetFormDoctrineSelectNestedSetPosition from the swToolkitPlugin
http://trac.symfony-project.org/browser/plugins/swToolboxPlugin/sf1.2/trunk/lib/widgets/swWidgetFormDoctrineSelectNestedSetPosition.class.php On Mon, Jan 19, 2009 at 9:38 PM, Tom Boutell <[email protected]> wrote: > > These plugins of mine should help you: > > http://www.symfony-project.org/plugins/sfAdminSortByForeignNamePlugin > > http://www.symfony-project.org/plugins/pkAdminQuickCreatePlugin > > http://www.symfony-project.org/plugins/tbDuplicateKeyPlugin > > Especially the first one which might be what you're looking for. The > rest are relevant in that they extend the admin generator in > "unsupported" ways without the need to use a custom theme. > > It takes a little bit more effort to install these than a simple "plug > and play" plugin, but still saves a great deal of effort and doesn't > have any "you can have only one" problems. Similar approaches can be > taken to extend the admin generator in other ways. > > (Now that I understand 1.2 forms better I can see that the duplicate > key plugin will probably need a lot of modification. And 1.2 has > better ways to nest models in the same admin generator page, so the > second one might or might not be useful anymore.) > > On Mon, Jan 19, 2009 at 3:19 PM, weett <[email protected]> wrote: > > > > Hello Julien, > > > > Thanks for your quick reply. If you are right (probably someone can > > tell?) then it's a pity the generator is not open to more than one > > plugin. Creating one plugin which holds all extensions is a solution, > > but probably very hard to maintain. If one plugin is the way to go, > > then count me in for the 'big merge'. > > > > I don't know if anyone has thought about a solution for opening up the > > admin generator for (multiple) plugins? An alternative could be to add > > a post-filter to each template? > > > > Is your project extending the 1.2 admin generator? If so, is the code > > available somewhere? Then I can look up the basics for extending, it > > will save a lot of 'stupid' questions. > > > > Thanks Sjoerd > > > > > > > > > -- > Tom Boutell > > www.punkave.com > www.boutell.com > > > > -- Thomas Rabaix Internet Consultant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" 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/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
