mPDF file name

deant

Active Member
Hi,

I like to set pdf file name when user dowload report. By default the pdf downlod file name is Table name - rowId I thing.

I like to create pdf file name from some data which are included in form like customer name, No.invoice...

Any clue how to do it?

Thx
 
You add an override for components\com_fabrik\layouts\form\fabrik-pdf-title.php

i was looking for this too thanks so much, one big question can this be on a form template folder? that way only change the name in the form selected?

thanks
 
Yes, copy
components\com_fabrik\layouts\form\fabrik-pdf-title.php
to
components\com_fabrik\views\details\tmpl\your-PDF-template\layouts\form\fabrik-pdf-title.php
and modify as you need
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top