Good day!
Please tell me how I can embed individual events from the event calendar on another website.
For example, I want to show events on the blog of a partner website.
Many greetings
Oct 2,2021 AT 12:57AM - 3 years ago -Hi again,
i think that work with this plugin?
https://www.myeventon.com/addons/event-api/
Does this also work in combination with a multi-vendor application? So I can export the appropriate events per vendor?
best regards
Susanne
Hello,
Event API is the one add-on you need. Please try it on https://dev.myeventon.com/wp-admin/
Does this also work in combination with a multi-vendor application? So I can export the appropriate events per vendor?
Could you elaborate more?
Hello again!
The event APi sounds complicated for normal users. What is the easiest way to embed the code and the calendar respectively? Do you have a video about it ?
Explanation:
We use on our multivendor platform also the plugins Action User and Events Tickets. Each Action User (=Vendor) of course wants to display only his own events on his own homepage.
Is that possible with an event API? If yes, how?
Translated with www.DeepL.com/Translator (free version)
regards
At this point in time I don;’t think organisers are an option
You can pass additional calendar parameters using the api URL inside javascript code.
Additional parameter values passed via API URL will override saved option values.
Supported Additional Parameters:
event_type | (int) event type category term ID(s) separated by commas |
event_type_{x} | (int) event type {x} category term ID(s) separated by commas |
number_of_months | (int) number of months to get events from (override above value) |
event_count | (int) number of events to show (override above value) |
show_et_ft_img | (yes/no) show featured event image |
hide_mult_occur | (yes/no) hide multiple occurances of repeating event instances |
etc_override | (yes/no) override event color with event type color (if set) |
focus_start_date_range | (int) unix timestamp of event start date range |
focus_end_date_range | (int) unix timestamp of event end date range |
lang | L1, L2 etc. language value |
you would have to make your organisers an event type and it certainly wouldn’t be automated
I’ll get Ashan in on this to see if there is an option for the organiser from action user to be part of this (possibly with Json data)
then you would give each person the same code (except for their user ID)
Hello @infotainerdave
has @Ashan already said something about this?
Whether the plugin
https://www.myeventon.com/addons/event-api/
also works in combination with a multi-vendor application? Whether each vendor can export its own appointments to its own website?
best regards
Susanne
Hey Susanne,
It does not work by default, you would need to enhance the restAPI
Hello Susanne if you look at the API addon you can see the code you can use to paste on external sites to show just one event.
You can use similar code to paste created event using event ID to show the event on external website.
image again lets see if it comes correct 🙂
Hi @Ashan Perera,
The images are too small and blurry when zoomed in, which means I can’t see anything unfortunately.
My question is also:
Can I embed ALL events from ONE provider/vendor on their website at the same time? Preferably so that new events from this provider/vendor automatically appear on his website?
best regards
Susasnne
The aforementioned should actually work, since vendors are event organizers, right?
Hi,
Please click on the image and it will open in a bigger size
If you are wanting to show events from only certain vendor, I suggest using event type to categorize the events into each vendor’s event and showing those using event_type parameter in API url. Let us know if you have more questions.