Posted: January 9, 2019 at 7:19 am
I am in the process of migrating a site from EE3 to EE4. I have followed the migration documentation. But now I need to figure out what to replace EVENT_CUSTOM_VIEW with. There are several areas in the site that list out courses with EVENT_CUSTOM_VIEW. Here is an example: [EVENT_CUSTOM_VIEW template_name=”home-events” limit=5 category_identifier=others order_by=date(end_date) show_expired=false] How would I convert this for EE4? Thank you. |
|
Hi, The equivalent is in the Events table template add-on. Here’s a link to its documentation: https://eventespresso.com/wiki/events-table-view-template-add-on/ |
|
Hi there,
https://eventespresso.com/product/custom-templates/ The closest equivalent we have for EE$ is the table view: https://eventespresso.com/product/eea-events-table-view-template/ and Grid view addon: https://eventespresso.com/product/eea-events-grid-view-template/ However, the Check in your It may also be within your theme. How you convert over depends on what those templates are doing, if they are tables you can use the table view template and if grids, use the grid template, and/or create your own using either of those as a base. |
|
Thank you. Would you happen to know if purchasing this add-on and using ESPRESSO_EVENTS_TABLE_TEMPLATE will output the exact same thing as EVENT_CUSTOM_VIEW did, like will our CSS and templates still be accurate? Or will I have to redo shortcodes/html/CSS to get the lists to look the same as they did before? I’m asking because I found out using ESPRESSO_EVENTS outputs the majority of the data I need, I would just need to tweak the output a bit and adjust CSS. Is it possible to modify what ESPRESSO_EVENTS displays? Basically, if it’s a quick change I’ll get the add-on. If it’s going to require a bunch of modification still, might as well go the route without the add-on. |
|
The [ESPRESSO_EVENTS_TABLE_TEMPLATE] template outputs mostly different markup and completely different CSS. The main similarity is it and the EE3 equivalent are both marked up using html tables. It is possible to modify what ESPRESSO_EVENTS displays. If it’s a matter of changing what’s displayed there, and the order of elements (like put the dates before/after the event description, or show/don’t show the event description) you can change the options in Event Espresso > Events > Templates. Further customizations can be done with CSS. If you need customizations beyond what the options and CSS offer, then it’s also possible to create a completely new template and use the provided template tags located in the Event Espresso plugins /public/ folder. |
|
Ok, I will try modifying ESPRESSO_EVENTS then. Thank you both for the info! |
|
The support post ‘What is the EE4 equivalent to EE3's [EVENT_CUSTOM_VIEW]’ 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.