Support

Home Forums Event Espresso Premium Display Events in a Calendar using Javascript

Display Events in a Calendar using Javascript

Posted: October 20, 2022 at 9:19 am

Viewing 1 reply thread


asse2014

October 20, 2022 at 9:19 am

Is it possible to use more than one url in your Display Events in a Calendar using Javascript example at https://github.com/eventespresso/event-espresso-core/blob/master/docs/T–Tutorials/ee4-rest-api-code-examples.md.


Tony

  • Support Staff

October 24, 2022 at 7:45 am

Hi there,

Possible, yes, but you’ll need to manage how the data from each request is merged.

You can’t do a single request to multiple URL’s but you can loop over multiple URLs and then use the data from them all.

Take a look here:

https://stackoverflow.com/questions/18097747/multiple-url-in-same-ajax-callis-this-possible

We don’t have any examples of doing this within our codebase but the above should help.

Viewing 1 reply thread

The support post ‘Display Events in a Calendar using Javascript’ 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.

Event Espresso