how to choose the PDF filename

Hi,
When I ask for the attached pdf file, I would like to specify a filename ( for now, files is named either "-123" or when I test with form from admin : "admin joomla-123"
Thx !
 
You can override this layout file:

https://github.com/Fabrik/fabrik/blob/master/components/com_fabrik/layouts/form/fabrik-pdf-title.php

Usual override heuristics apply. So you can override it globally by copying it to the site template location ...

./templates/<your site template>/html/layouts/com_fabrik/form/fabrik-pdf-title.php

.. or per Fabrik template by copying it to that location ...

./components/com_fabrik/views/details/tmpl/<your details template>/layouts/form/fabrik-pdf-title.php

In the file itself, just echo whatever you want the filename to be (without the pdf extension).

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top