How to setup & use multi data types
Last Updated: September 14, 2023
In eventon version 2.5 we have added multi data types (MDT) feature.
Benefits of MDT
MDT allows you to create an item once with details and values and reuse that item again and again for unlimited events without having to re-enter the item details and values.
#1. Activate MDT
Go into EventON settings > Categories and then under EventCard Multi Data Types you can activate the number of data types you need. Currently, by default it allows you to add up to 3 different types while this can be increased with a pluggable function. (filter name: evo_multi_data_type_count)
As you can see above; in this example, we are going to create an MDT called teacher. We are enabling images and 2 additional data fields. By default, each MDT item will support name and description fields.
#2. Create MDT items for an event
Let’s say for your event you want to add “Suzan Price” as a teacher for the event.
Go into the event you want to add an MDT (a teacher in our example). Go to event edit and then under the Event Details meta box you can find the new MDT section with the name you set for the MDT. (For our example it is Teacher)
Since you haven’t created any MDT items, you can do so by clicking the Create a new teacher (create a new {name}) button.
Once you click Save it will be saved to the event.
Alternatively, if you already have a bunch of MDT items (or teachers in our example) created for other events, you can select an item from the list by clicking Select from list button.
If you don’t have any items created this list will be blank and will ask you to create new items.
#3. Show in EventCard
Next, we need to make sure the MDT fields are set to show in the eventCard. Go into EventON settings > EventCard Design and enable the new MDT field and move it around to where you want it to show in the eventCard. (If its already enabled and still not showing, just moving it around the list and resaving it does the trick)
#4. Customization
You can customize the icon for the MDT field from EventON Settings > Icons
View on Front
Once all the data is entered the information will show like the below image on the event card for the event. (images are from EventON ver2.7)
Further Customization with WP Pluggable Filters
Add more than 3 multi-data types: evo_multi_data_type_count (return the new number via filter)
Add more than 2 additional fields per each MDT item: evo_multi_data_type_fields_count (return the new number via filter)
Did this article help you?
- How to
- ** How to use event_type category to do more
- How to Activate EventON
- How To Allow Users to Submit Events and Create an Events Listing Page
- How to apply a patch fix
- How to Bulk Update Language Translations Using the Import/Export Tool
- How to cancel addon subscription before auto renew
- How to Deactivate EventON Addon Licenses
- How To Display or Hide the Live Now Icon
- How to Enable Auto-updates for EventON
- How to find your EventON license key (Purchase key)
- How to Fix a Broken Sidebar Caused by the EventON Widget
- How To Hide Blank Rows On the Calendar EventTop
- How To Set Up and Use the Filter Bar on Calendars
- How to Set Up Health Guidelines for EventON and Extend It
- How to Setup & Use Custom Fields for Events
- How to setup & use multi data types
- How to Setup Basic Paypal for Events
- How to show past events
- How to show your calendar on external sites using an iFrame
- How To Turn on Sort Options On Your Calendar
- How To Upgrade Your EventON Addon License
- How to Use Hashtags to Link to Event Sections
- How to Use Single Event Data Values
- How to Use the EventCard Designer
- How To Use the EventON Shortcode Executor(ESE) Widget
- How To Use The EventTop Designer
- How To Use the ICS Import Tool
- How to Use Virtual Visible Event End Time for Events with Limited Visibility but Extended Durations
- Using an SMTP Mail Plugin To Solve Email Delivery Issues in EventON