• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

DigSig change size in PDF using css

jmoises

Active Member
Hello is there a way to change the size of the DigSig in the PDF=?, in my detail view look the size correctly, i have made a custom template for PDF and i need to show it smaller but i cant find a CSS to do that.

Thanks for any help.


In my form i have to disable PDF bootstrap:
upload_2021-1-8_1-29-55.png
My element settings:
upload_2021-1-8_1-28-45.png
 
Did you try to set "Debug PDF" in Fabrik options and inspect the HTML generated for the PDF?

DigSig is pretty complicated (an image created on the fly) and PDF is not always interpreting CSS exactly as your browser.
So maybe adding some more CSS to your custom PDF template setting width and height again and maybe with !important will help.

And/or you can override the digsig layout file plugins\fabrik_element\digsig\layouts\fabrik-element-digsig-details-pdf.php
 
i did try the debug pdf, and try and error for hours diferent css settings and no luck, but i haven try the override, that will fix my problem i will try that thank you!
 
@troester i have copy the layout file:
plugins\fabrik_element\digsig\layouts\fabrik-element-digsig-details-pdf.php
to
/templates/{current-joomla-template}/html/layouts/com_fabrik/elements/

but is not overriding, i add and exit command to the fabrik-element-digsig-details-pdf.php code, to check is overriding but no luck

any tip thanks...
 
Whell i try all this options to override the digsig and no luck, i clear cache everytime i upload the file, and no luck
  • /templates/{current-joomla-template}/html/layouts/com_fabrik
  • /templates/{current-joomla-template}/html/layouts
  • /layouts
  • /components/com_fabrik/layouts
  • /templates/{current-joomla-template}/html/layouts/com_fabrik/element/{tablename___elementname}
  • /templates/{current-joomla-template}/html/layouts/com_fabrik/element/tablename___elementname
  • /components/com_fabrik/views/form/tmpl/<yourtemplate>/layouts/element/
  • /components/com_fabrik/views/form/tmpl/<yourtemplate>/layouts/element/{tablename___elementname}
  • /components/com_fabrik/views/form/tmpl/<yourtemplate>/layouts/element/tablename___elementname
If i modify the file in the original path it works, but when update i will lost the change..
/plugins/fabrik_element/button/layouts

Thanks for any advise.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top