Alert.png in PDF

Status
Not open for further replies.
Dear all,
I'm woking in a pdf printout based in a detail form. When I access to the form in screen it works correctly, but when I print to PDF this shows an alert printed in the upper left corner.The template is a copy of the desafult one. Commenting this line in the default.php makes it disappear:

$active = ($form->error != '') ? '' : ' fabrikHide';
echo '<div class="fabrikMainError fabrikError' . $active . '">';
//echo FabrikHelperHTML::image('alert.png', 'form', $this->tmpl);
echo "$form->error</div>";

Soit seems to be an error that I cannot see or I don't know how to debug. Could you help me to find info to debug this error, please?
Thank you!
 
Maybe just a CSS (fabrikHide) not rendered by dompdf.
If it's doing with your modified template use this as PDF template (it's alway a good idea to have an extra PDF template because of several dompdf restrictions, eg. rendering float...)
 
Thank you for your answer, Troester! Well, I used this template as said in other threads, but knowing what the problem is, and having the printout perfectly working, I simply have commented the line prinitng the alert icon.

Thanks again!
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top