symfony2admingenerator / AdmingeneratorGeneratorBundle

(old-legacy) Admingenerator for Symfony2, parse generator.yml files to build classes
http://symfony2admingenerator.org/
MIT License
360 stars 125 forks source link

Excel export - doesn't show #773

Closed laszlo-karpati closed 10 years ago

laszlo-karpati commented 10 years ago

Hi,

I just tried to set up the excel export.

I just installed the liuggio/excelbundle with the composer, and added it to the AppKernel. I also put these lines to my *-generated.yml files: excel: params: ~ filename: ~ filetype: ~

I can't see any "export" button in my list views, and I just don't know what's next?

Thanks, Lazlo

bobvandevijver commented 10 years ago

Hi Lazlo,

You probably need to put the action in the listbuilder. Something like this:

builders:
  list:
    params:
      actions:
        new: ~
        excel: ~

If that is not working, can you post the complete generator file as code?

laszlo-karpati commented 10 years ago

Thank you, it work like a charm!

bobvandevijver commented 10 years ago

@laszlo-karpati Can you close this issue as it is resolved? I do not have the rights to do that.