Is there a possibility to exclude a footer or header in my PDF file?
I left the 'Document Header' empty in the 'HTML to PDF' action but I still can see a horizontal line in the header and a horizontal line and the page numbers in the footer. What am I doing wrong?
I left the 'Document Header' empty in the 'HTML to PDF' action but I still can see a horizontal line in the header and a horizontal line and the page numbers in the footer. What am I doing wrong?
Hi geertmaartens,
The PDF action was written by a user for his needs so it may well not be possible to remove them using the options provided.
I found the technical answer in this StackOverFlow answer. You'd need to edit the /administrator/components/com_chronoforms/form_actions/tcpdf/cfaction_tcpdf.php file to implement it, adding these two lines around line 85 should do the trick (not tested though!)
Bob
The PDF action was written by a user for his needs so it may well not be possible to remove them using the options provided.
I found the technical answer in this StackOverFlow answer. You'd need to edit the /administrator/components/com_chronoforms/form_actions/tcpdf/cfaction_tcpdf.php file to implement it, adding these two lines around line 85 should do the trick (not tested though!)
$pdf->SetPrintHeader(false);
$pdf->SetPrintFooter(false)
Bob
This topic is locked and no more replies can be posted.