Hi,
i would like to add 2 pages of text (contract) after the invoice. It works fine with HTML version but when you click Download PDF, there is only header on first page without text and next page look good but missing full text. Can i somehow use page break on invoice, maybe then PDF will look correctly?
Also where can i translate “+ details” in ticket selector at registration page.
The script that converts html to PDF is very strict about its HTML so your results may vary when trying to add in pages of content. You could try forcing a page break just before the contract with <div style="page-break-before: always;"></div>
and that may help.
Do you mean how to translate “show details +”? If so, that’s a translation-ready string and can be translated using a function hooked to the gettext filter.
The exact string is show%1$sdetails%1$s+ and that can be plugged into a transaction function like this one:
The support post ‘Convert Invoice to PDF – page break problem’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.