This topic is locked

Multiple sets of data in a project each with their own calendar

8/15/2024 12:13:23 PM
Calendar Template general questions
G
GaryW author

PHP Runner 19.91
We have various places in the project where a "calendar" view of our existing data would be useful.

e.g. A calendar view of training courses and another calendar view of consultant holidays and client days.

I'm just investigating the Calendar Template to see whether what we want can be acomplished using it and coule welcome any thoughts. I've seen that the Calendar template brings with it some tables and was considering whether we could auto populate these using triggers/code but that feels a little messy and duplicates data - never a good idea. Also that still puts all the data into the same place but both "views" .

Sergey Kornilov admin 8/15/2024

Calendar template has an option to pull data from any table:
https://xlinesoft.com/templates/calendar/faq.htm#another-table

Maybe you can implement two different calendar views by passing a parameter via URL and retriving one data set or another based on that URL parameter. You will need to adjust this sample code to read the parameter from the URL and pull the required data set.