php - Symfony, Doctrine Guard Plugin, generator.yml file, customizing by using another module -
i using symfony 1-4 , sfdoctrineguardplugin.
my question is, on doctrine guard plugin know each module came generator.yml. , need customize generator.yml. example, need display table's (module's) column.
// example @ x module , need sort according table's/module's column ...
config:
list:
sort: [x, asc] // x not on module
same thing list/display. need display column not on current module...
i couldn't find on web. lot sharing idea and/or information, erman.
- never mind customize file directly in plugin's dir.
- override
generator.yml
copying application's module. module must same name in plugin. see "anatomy of plug-in". - symfony not provide built-in functionality sort items columns don't present in current model. have manually overriding
addsortquery
method in actions class. see "symfony 1.4 admin generator sort on custom column".
hope help.
Comments
Post a Comment