Hi Armin
You can set the content-disposition http header field for define the
download file name.

Regards Frank
Am 10.06.2011 13:07 schrieb "armin weisser" <
[email protected]>:
>
> Hi list!
>
> I have a template with subtemplates csv and html.
> When I add this template to the website a name it "export".
> So when I call "http://.../export.csv"; it will render my csv subtemplate
> and opens a native "Download as "export.csv"" dialog.
> Works perfectly!
>
> What I want to do now is to append the current date to the file name, so
> that I get a native "Download as "export_2011_06_10.csv"" dialog.
> Is there a way to do this by configuration, without handle the
> http-Header programmatically?
>
> Cheers,
>
> Armin
> _____________________________________________________________________
> Vorstand: Ralf Heller, Udo Mobes
> Vorsitzende des Aufsichtsrates: Kirsten Heller
> Sitz der Gesellschaft: Gruenwaelderstrasse 10-14, D-79098 Freiburg
> Amtsgericht Freiburg HRB 6218
>
> Versand am 10.06.2011 13:00 von weisser armin
> Validation-Code: 1355533206704
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to