# vo2AdminGeneratorPlugin The `vo2AdminGenerator` is a symfony plugin that brings the Symfony 1.1 Admin Generator into Symfony 1.0. The main diferences between this two generators is the batch_actions section in the list view. ## Installation * Install the plugin > php symfony plugin-install http://plugins.symfony-project.com/vo2AdminGeneratorPlugin * Clear the cache > php symfony cc ## Usage ### Create new Admin Module with this plugin This plugins brings a Pake Task so you can initialize a new Admin Generator Module using this generator, to access this task simply use this command: > php symfony vo2-init-admin application folder class The usage of the generator.yml itself is the same as the default Symfony 1.1 Admin Generator. ### Enable batch actions In the list section of the generator.yml file list: title: My Admin Screen batch_actions: _deleteSelected: ~ To add your custom action you have to specify the name of the action and the action that will be called list: title: My Admin Screen batch_actions: _deleteSelected: ~ publish: name: Publish Selected action: publishSelected unpublish: name: Unpublish Selected action: unPublishSelected ## Changelog ### 2008-11-24 | 0.1.2 Alpha * Edit and Delete actions are now enabled by default ### 2008-11-22 | 0.1.1 Alpha * Corrected the package.xml * Added missing file (_list_td_batch_actions.php) to the package * Corrected a bug in compatTools.class.php (Thanks to Davert) ### 2008-11-10 | 0.1.0 Alpha * rdeeb: Initial public release.