Support

Home Forums Event Espresso Premium Overwriting templates in puloads

Overwriting templates in puloads

Posted: September 30, 2014 at 8:58 am


Olivier Tarbes

September 30, 2014 at 8:58 am

Hello,

I used to overwrite the invoice PDF template in this folder :
/wp-content/uploads/espresso/templates/modules/gateways/Invoice/lib/templates/invoice_body.templates.php

It used to work, but since I upgraded to version 4.3.1 it stopped working.

Did you change the way we override templates ?

Thanks


Josh

  • Support Staff

September 30, 2014 at 10:31 am

Hi Olivier,

I checked on this and it has not changed as of EE 4.4.3.p. You’ll want to make sure your filename is invoice_body.template.php and not invoice_body.templates.php.

That said, there is a change to the invoice system coming in Event Espresso 4.5 where you’ll be able to customize the invoice template from within the WordPress admin. This will be similar to how email notification messages are customized.


Olivier Tarbes

September 30, 2014 at 10:58 am

yes i just made a mistake while copying the filename here,
ok for the 4.5, when do you plan to release it ?

thank you


Lorenzo Orlando Caum

  • Support Staff

September 30, 2014 at 1:04 pm

Hello,

We’ll be releasing 4.5 later this year.


Lorenzo


Olivier Tarbes

September 30, 2014 at 1:15 pm

So you confirm that it’s not possible to override templates the way explained above ?


Josh

  • Support Staff

September 30, 2014 at 1:29 pm

I can confirm it still works to copy templates to /wp-content/uploads/espresso/templates in Event Espresso 4.4.

Event Espresso 4.5 is also available as a pre-release if you’d like to test it out one a development server.

The support post ‘Overwriting templates in puloads’ 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.

Event Espresso