Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

Pass variable to pdf name 23.03.2013 23:34

Hi, is it possible to pass a variable to the name of the generated pdf?

Re: Pass variable to pdf name 25.03.2013 09:22

Hi,
the pdf is exported using library mpdf, and the output is generated with default name. It doesn't use any variable to build the name of the file. If you want to change that function, maybe you could use some parameters of the 'output' mpdf function. Here the information:

http://mpdf1.com/manual/index.php?tid=125

and here the source file where that function is called. Maybe you can try to modify this last line in order to change default output to an specific (or dynamic) name:

joomla\components\com_calcbuilder\views\calcbuilder\tmpl\pdf.php


Hope this helps, regards
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros