CalcBuilder Forum

Pass variable to pdf name

Usuario moon_955 2013-03-23 23:34:20

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

Moonsoft support 2013-03-25 09:22:49

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

...
List Manager

Build different lists for your site

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!