- Posts: 17
- Thank you received: 0
Invoice Customization in TCPDF
- Kelly Turner
- Topic Author
- Offline
- New Member
Less
More
3 years 8 months ago #142466
by Kelly Turner
Invoice Customization in TCPDF was created by Kelly Turner
Hi, I made some changes to the TCPDF config file in components/com_osmembership/tcpdf/config/tcpdf_config.php to customize the PDF margins and font sizes on my invoices. But each time I upgrade Membership Pro, my customizations in that file are overwritten. Is there a way to override that?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 8 months ago #142471
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice Customization in TCPDF
Hello
Exactly what you customized? Please let me know. Maybe we could make these settings customizable from UI instead of modifying code
Tuan
Exactly what you customized? Please let me know. Maybe we could make these settings customizable from UI instead of modifying code
Tuan
Please Log in or Create an account to join the conversation.
- Kelly Turner
- Topic Author
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 0
3 years 8 months ago #142482
by Kelly Turner
Replied by Kelly Turner on topic Invoice Customization in TCPDF
I think it would be a GREAT idea to have these settings available in the UI!
I made changes to:
Line 92 -> set PDF_PAGE_FORMAT to LETTER
Line 122 -> set PDF_UNIT to 'in'
Lines 137, 142, 147, and 152 -> changed PDF_MARGIN values
Line 162 -> set PDF_FONT_SIZE_MAIN to 11
I made changes to:
Line 92 -> set PDF_PAGE_FORMAT to LETTER
Line 122 -> set PDF_UNIT to 'in'
Lines 137, 142, 147, and 152 -> changed PDF_MARGIN values
Line 162 -> set PDF_FONT_SIZE_MAIN to 11
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.