Posted: April 22, 2015 at 1:15 pm
|
I have been trying to find a way to customize templates in EE4, specifically I am wanting to customize the attendee_info_main.template.php. All I have been able to find is documentation for EE3 (https://eventespresso.com/wiki/put-custom-templates/) and what it suggest does not seem to work for EE4. (Or perhaps these templates come in pairs?) Do you have documentation for EE4 template customization? |
Hi Caitlyn, What changes are you trying to make to that template? — |
|
|
Hi Lorenzo, I need the event date associated with the ticket that is being purchased to display. |
|
Just wanted to follow up and see if there is a way for me to customize templates for EE4 in a way that I am not changing core files (so they don’t get overwritten when I update the plugin), or if there is a way for me to add the event date associated with a ticket to the registration-checkout pages in a different way. Thanks so much! |
Hi, we found a problem in the template locate option that handles that and we have reported it to the developers. This is specific to the first page of registration checkout. You can change the information that is shown on the payment page (step 2) by using this filter which can be added to your child theme’s functions.php file or a site specific plugin. https://gist.github.com/mnelson4/5f800aaffedc9c794b3f — |
|
|
Are you certain that this is targeting the correct filter? I tried adding it to my functions.php and it does nothing. I then tried:
and that did nothing. |
Hi, that sample coding won’t do anything but the sample coding in the link below works and should be added to your child theme’s functions.php file or via a site specific plugin: https://gist.github.com/mnelson4/5f800aaffedc9c794b3f#file-functions-php Again, it will only apply to the payment options page which is step 2 of registration checkout. It does not affect step 1 where the attendee information is collected. If it still does not work, then ensure your software is up to date: https://eventespresso.com/wiki/ee4-changelog/ — |
|
|
It must be that I don’t have the most up to date version. I am using 4.6.18, but it is currently in development, so it is on my local machine that I push to a development server. It says for me not to add the support license key if this is a development site. So, how do I get the most up to date version? |
Alright, try manually updating: https://eventespresso.com/wiki/updating-event-espresso/#update_manually It was introduced as an enhancement in a recent maintenance release so manually updating should make it available for you. Thanks for letting us know. — |
|
|
That worked! Thank you so much! |
The support post ‘EE4 Template Customization (2)’ 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.