Custom PDF Link and Background Image

Status
Not open for further replies.

Fastserv

Member
Hi all,

is it possible to customise the PDF link, I wan?t a text link instead of an Icon?
And is it possible to have a seamless background image inside the pdf?

I appreciate any help

Regards,
Stefan
 
List or form (details) view?
Link:
In list view you can add custom CSS to the default template to show the "PDF" text (and hide the icon),
in form/details view you need a custom template.

Background can be added to your custom PDF-layout-template via CSS
#aaaa {background: url('path/your-image')}
 
Hi troester,

thank you for your help again :)

Link is for Detail View, I have a custom template but something I used some time ago does not work anymore:
index.php?option=com_fabrik&view=details&format=pdf&formid=4&Itemid=163&rowid={smvuz_laufergebnisse___id}

I can add a background image but not seamless to a4
 
For "seamless" try
body {background: url('path/your-image')}
(but you will still have the printing margins)
 
I don't know where those margins are set (in DomPDF?) but try something like
body {background: url('path/your-image');margin:-100px;padding:100px}
 
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