- Posts: 170
- Thank you received: 1
Format of the membership card smaller than A7 landscape.
- Lionel Charrier
- Topic Author
- Offline
- Elite Member
-
Less
More
5 years 5 months ago - 5 years 5 months ago #130542
by Lionel Charrier
Format of the membership card smaller than A7 landscape. was created by Lionel Charrier
Hi
How can I do to generate a membership card at credit card format ?
King Regards
Lionel
How can I do to generate a membership card at credit card format ?
King Regards
Lionel
Last edit: 5 years 5 months ago by Lionel Charrier.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 5 months ago #130564
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Format of the membership card smaller than A7 landscape.
Hi Lionel
Unfortunately, the extension uses TCPDF library to generate PDF. Only the following Page Format is supported: A4, A5, A6, A7. It's not possible to generate PDF in a custom format, so your request is not supported
Tuan
Unfortunately, the extension uses TCPDF library to generate PDF. Only the following Page Format is supported: A4, A5, A6, A7. It's not possible to generate PDF in a custom format, so your request is not supported
Tuan
The following user(s) said Thank You: Lionel Charrier
Please Log in or Create an account to join the conversation.
- Nicky Veitch
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
5 years 5 months ago #130618
by Nicky Veitch
Replied by Nicky Veitch on topic Format of the membership card smaller than A7 landscape.
Had a similar question from a client. TCPDF is notoriously un-user-friendly. We ended up configuring the Member Card Settings tab as a table, with another table inside of that. The inner table has 3 columns, the 2 outer columns are fixed width 25% each and empty. The middle column 50% has the card layout surrounded by a border. (You could set whatever column widths you like). At the top we laid it out like an introductory letter "attached is your member card", so it looks like the membership card is "printed" on the letter at the bottom.
For the inner table we had to set this to make the border show up in the PDF output:
<table style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt;" border="1" cellspacing="0" cellpadding="2">
Cheers,
Nicky
For the inner table we had to set this to make the border show up in the PDF output:
<table style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt;" border="1" cellspacing="0" cellpadding="2">
Cheers,
Nicky
The following user(s) said Thank You: Lionel Charrier
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 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.