Events Data JS File

6 replies · opened May 6, 2017

OOnly1BruceCMay 6, 2017

Hi,

Since you are using the event date as a key, I don't see a way to have more than one events listed on the calendar per day.
Am I wrong? Do you have a work around?

SSemicolon WebSTAFFMay 10, 2017

Hello,

This is Definitely Possible. To add Multiple Events on a Single Date, simply use the following example:

'05-15-2017' : '[Your Event 1](http://google.com)',
'05-15-2017' : '[Your Event 2](http://google.com)',

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

OOnly1BruceCMay 10, 2017

I had tried that and found:

  1. The JS file warns of a duplicate key (I ignored that and uploaded it anyway)
  2. The calendar shows only 1 event, not two.

you can see this at http://azwoodworkers.com/future-events.html - check out June 24th

SSemicolon WebSTAFFMay 16, 2017

Hello,

We Really Apologize about our Mistake! We made a error in providing you with the Proper Solution for this! We have looked into this more deeply and you will need to use the following code to add 2 events:

'05-15-2017' : '[Your Event 1](http://google.com)[Your Event 2](http://google.com)',

This will definitely work fine. We Really Appreciate your Patience!

Let us know if we can help you with anything else or if you find any further issues.

OOnly1BruceCMay 16, 2017

That worked, THANKS!

JjqualeyJul 29, 2017

This template is soooo almost perfect and the only thing that would make it absolutely perfect is the calendar solution. At least for my needs.

Im using this with Modx and between the two, its the most flexible thing and Im able to display calendar events, but utilizing getResources in modx to call events work, but doesnt for multiple events in one day and also repeating events.

I realize the calendar may not be your product and from my understanding, it may not being developed any more but if you had any advice on this, it would be great. I hope I didnt break any rules by adding to this thread.

SSemicolon WebSTAFFAug 1, 2017

Hello,

Thank You so much for the Kind Words! :)

This should definitely work fine using any CMS or Backend Language. Make sure that you are running the Loop on a Single Date and saving it rather than saving the events separately for the same date since JSON will not accept this as the date is a unique key. So the search query for your Events should be based on the Date. Can you please provide us with the Codes so that we can try checking this out and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard