- Posts: 14
- Thank you received: 1
Customizing the PDF invoice layout
- Massimo
- Topic Author
- Offline
- New Member
Less
More
10 years 7 months ago - 10 years 7 months ago #44546
by Massimo
Customizing the PDF invoice layout was created by Massimo
I'd like to use the Invoice settings of Membership Pro to automatically send a customized membership virtual card to my subscribers.
In order to do that I need a background picture (the card graphics) with Name / Surname and expiry date written on it.
That would be easy to do if the HTML code taken in the invoice settings accepted a table with background picture, but it doesn't seem to work. I tried to create a table with background picture and overlaying text, but when the PDF invoice is generated, it contains only the text and no picture.
Example
This is how the invoice should look:
And this is how it turns out in the invoice PDF file:
Can you please show me the HTML code that I should use in order to get the text over the picture?
Thanks
In order to do that I need a background picture (the card graphics) with Name / Surname and expiry date written on it.
That would be easy to do if the HTML code taken in the invoice settings accepted a table with background picture, but it doesn't seem to work. I tried to create a table with background picture and overlaying text, but when the PDF invoice is generated, it contains only the text and no picture.
Example
This is how the invoice should look:
And this is how it turns out in the invoice PDF file:
Can you please show me the HTML code that I should use in order to get the text over the picture?
Thanks
Last edit: 10 years 7 months ago by Massimo.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 7 months ago #44557
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Customizing the PDF invoice layout
Hi John
Sorry but the PDF library we are using can only support some back HTML tags. It could not support background image for the table, so it is not possible to do this.
Regards,
Tuan
Sorry but the PDF library we are using can only support some back HTML tags. It could not support background image for the table, so it is not possible to do this.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.