List Manager Forum

Change File Name in the PDF export file

User moon_531 2012-07-05 16:14:05

Wen i export my data to PDF or XLS the default file name is LISTMANAGER.PDF/LISTMANAGER.XLS I want to change to anything.PDF/anything.XLS how can i do that? thanks

Moonsoft support 2012-07-05 18:10:41

Hello,

You can change the name of PDF file (in Joomla 1.5 version) at:

JOOMA/components/com_listmanager/views/listmanager/view.pdfr.php

search for:

JResponse::setHeader('Content-Disposition', 'attachment; filename=listmanager.pdf');

and change listmanager.pdf by the name of the file you want.


If you want to change Excel file name(joomla 1.5-2.5 versions), check:

JOOMLA/components/com_listmanager/views/listmanager/view.excel.php

search for:

JResponse::setHeader('Content-Disposition', 'attachment; filename=listmanager.xls');

and change listmanager.xls by the name you want.

Regards,

User moon_531 2012-07-06 01:56:47

Thank you!

...
List Manager

Build different lists for your site

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!