Posted: October 2, 2014 at 4:15 am
|
I need to change the layout of some emails in EE3. Only thing is that the text is set in the translation files. For example the ‘New attendee registration approval pending’ that is sent to the admin needs to be edited. I need to add some extra lines of text and email tags. How can I do this? |
|
I also need to know where I can change the payment reminders email? |
|
Hi Joshua, Admin emails in EE3 are unfortunately hardcoded (we rectified this in EE4). The functions are in /wp-content/plugins/event-espresso/includes/functions/email.php and should be pluggable. The Payment reminder email is also hardcoded and unfortunately not pluggable (/wp-content/plugins/event-espresso/includes/admin-reports/enter_attendee_payments.php) but you can create a custom email via the Email Manager and select that as the email to be sent out http://take.ms/Pm0ea |
|
That’s not good 🙁 I was advised to use EE3 from your pre-sales team. These where some of the questions I asked. What do you mean with pluggable? |
|
Hi, Pluggable refers to a function that can be over ridden in the functions.php of the theme or in a custom functions plugin: http://codex.wordpress.org/Pluggable_Functions In short it means you can copy the function elsewhere and edit it, and the plugin will use that function rather than the one in the plugin itself. |
|
I really need this function to go in quickly. Not being able to change default emails is a no-no from the users end. Key information cannot be sent now. I need these 3 default emails to be sent. 1) When an attendee registers for an event (custom pre-approval email). Optional I want to send an invoice reminder, but this is something already customised in EE3 so no worries on this one. Please advise & what’s the ETA on this functionality? |
Hi Joshua, Unfortunately we don’t have an ETA for the kind functionality you are requesting within EE3. The emails are customisable, although this needs to be done through a custom function rather than in the same was as the confirmation emails. The pre-approval email for both the attendee and the admin is built using the function ‘event_espresso_send_attendee_registration_approval_pending’ within event-espresso/includes/functions/emails.php All of the text included within those emails is translatable, meaning you can alter the text by translating the current phrases into any string you prefer. Or you could build your own custom function to build your own custom email and override the current functionality. If you are unsure of how to do this you may need to contact a PHP/Wordpress developer, we have some recommended developers here: eventespresso.com/developers/event-espresso-pros/
Manual payment reminders are already built into EE3. You can do this through the Attendee list. Edit the attendee and use the ‘Send Invoice’ button within that screen, shown at the bottom here – http://take.ms/Pm0ea |
|
|
Thanks Tony. I hope this will get changed in the future, because I could imagine this is a big request. Furthermore, can you tell me why there are two separate versions of EE? |
Event Espresso 3 is the ‘original’ Event Espresso, it uses custom tables to store all of the information used and has its own templating system. As more requests were made for more complex features it became apparent this system needed to be improved and a deeper integration with WordPress (making events custom post types for example) would be beneficial to both Event Espresso and 3rd party developers. So development started on what is now Event Espresso 4 which uses Custom Post Types for the events, although we also use custom tables as the data used is far to complex to all be stored within meta data, however the Event object pulls all of the information together for you and as such is much easier to develop with then EE3. Event Espresso 4 could be classed as the ‘next generation’ of Event Espresso and we would like to (eventually) provide all of the functionality available from EE3 within EE4 although this will take some time (EE3 has been in development alot longer than EE4) so we provide both versions. EE3 for users that need the current functionality it provides, EE4 for the users that do not. Eventually, we expect most users will move over to EE4 as the functionality is increased to suit their needs. Can I ask what the main reasoning for using EE3 was? |
|
The support post ‘How to change layout of emails in EE3’ 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.