Support

Home Forums Event Espresso Premium Override template files?

Override template files?

Posted: June 26, 2013 at 7:25 am

Viewing 2 reply threads


cmccreery

June 26, 2013 at 7:25 am

Just added the custom files addon. I’m a bit confused as to how to override one of the template files. I would like to edit the event_listing_display.php template file and add a few extra fields. I’m not clear on the procedure for this. I thought it was like wordpress template system, copy the existing file and paste it in uploads/espresso/templates and Espresso would use that file instead. Is this how it works?

Thanks,


Dean

June 26, 2013 at 8:25 am

Hi,

You don’t need the Custom Files add on to modify a base template like that.

You are correct in copying the event_list_display.php to uploads/espresso/templates.

The problem you may be having is you also need to copy the event_list.php file as well, they need to be copied in pairs even if you only edit one.

Same thing goes for the event_registration.php and event_registration_display.php files.


cmccreery

June 26, 2013 at 9:22 am

That’ll do it! Thank you very much.

Viewing 2 reply threads

The support post ‘Override template files?’ 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