Support

Home Forums Event Espresso Premium Convert Invoice to PDF – page break problem

Convert Invoice to PDF – page break problem

Posted: August 28, 2019 at 9:06 am


gferenca

August 28, 2019 at 9:06 am

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.

Regards,


Josh

  • Support Staff

August 29, 2019 at 3:15 pm

Hi,

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:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 months, 2 weeks ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!