joomlamate
Member
I have a few forms that on submission they generate a PDF. I use the MPDF library.
For the first form, the generation of PDF considers the custom_css.php file and it adds style to the PDF.
For the second form, I have duplicated the PDF layout and assigned as the PDF for that form. But whatever I try, when it comes to produce the PDF it just ignores the css.
If I set this PDF template as the layout for the Details view, the css is applied in the document. But for the PDF it is ignored.
The custom_css.php is the same is the one for the first form.
This one has baffled me and I don't know what else I should look.
Any ideas?
For the first form, the generation of PDF considers the custom_css.php file and it adds style to the PDF.
For the second form, I have duplicated the PDF layout and assigned as the PDF for that form. But whatever I try, when it comes to produce the PDF it just ignores the css.
If I set this PDF template as the layout for the Details view, the css is applied in the document. But for the PDF it is ignored.
The custom_css.php is the same is the one for the first form.
This one has baffled me and I don't know what else I should look.
Any ideas?