Posted: October 23, 2018 at 3:06 am
|
We have customized a bunch of things in our EE3 implementation, and are now ready to upgrade to EE4. I am wondering if there is a table for developers that would help map old field names and the variables used to access them to the new ones in EE4? Specifically, some of the things I need to do are: 1) customize the table view add on template, to show separate columns for start date, start time, end time, day of week (which we store in event_meta), instructor (also stored in event_meta), grade range (also event_meta), open spots, and the ability to add the class or waitlist to the cart without leaving the page, so that we can keep the functionality we had before using custom templates. 2) Integrate the custom fields we added to the previous Members Add-on, which we stored in wp_usermeta, and which are then used to prepopulate EE form fields when members register for classes. What is the best way to customize the WP User Integration Add-on to retrieve our functionality? Thanks. |
Hi, I’ll try to avoid conflating the following information by creating a separate reply for each topic you’ve asked about here. First, the specifics of the database migration from EE3 to EE4 are outlined in the source files: For example, any event_meta fields from EE3 are converted to native WordPress post_meta: General information: Since EE4 events & venues are custom post types and most of the templates are WordPress loops, you’ll be able to use the native WordPress functions like |
|
You’ll find general information about making customizations to the table template here:
The only way to replicate that using EE4 would be to include the ticket selector within a column of the table. Here’s an example from a GitHub gist:
event_meta in EE4 is stored in post_meta, so you can use native WP functions to get that data.
Yes, you can add a custom function to your site to exclude a specific category on a specific page. Here’s a link to some example code:
You can follow the example of the table template itself in how it handles events with multiple dates when the |
|
We recommend adding the customization code to its own plugin. Within the plugin you can add callback functions that hook in to Event Espresso 4 core by means of filter hooks and/or action hooks. There’s a filter hook in EE4 core that allows for pre-populating the EE form with custom data:
This is outside the scope of Event Espresso and the WP User Integration’s feature set. I can point you in the direction of looking into plugins that may provide front-end editing of user data: https://wordpress.org/search/edit+front+end+user+profile+data+plugin
They’re not. You can re-link them by following this guide: |
|
The support post ‘equivalencies/mapping from EE3 to EE4?’ 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.