terminal42 / contao-leads

Leads extension for Contao Open Source CMS; Store and manage form data with ease!
GNU Lesser General Public License v3.0
35 stars 24 forks source link

How to export with a template? #114

Closed Aybee closed 3 years ago

Aybee commented 3 years ago

With export as xls(x) you can use a template. Does someone know how this works?

Bildschirmfoto am 2021-04-13 um 22 56 05

aschempp commented 3 years ago

Not sure what's unclear? You select a template and the data is appended to the respective sheet at the respective line.

Aybee commented 3 years ago

An example would be nice. What's the benefit of this way? Do I have to use placeholders within the template?

I was thinking about that maybe this is a way to get the ##created## variable into the export via PHP which does not work with other export functionalities at the moment.

aschempp commented 3 years ago

This is about an excel template file (an excel file that already has content), not a PHP template.

Aybee commented 3 years ago

Ok, thank you.