Send custom events and resources URLs into bat_fullcalendar_timeline

Created on 4 June 2021, almost 4 years ago
Updated 22 March 2023, about 2 years ago

Problem/Motivation

Thanks for the great module!

I would like to be able to use all the goodies that come with bat_fullcalendar_timeline, but I want to use different URL's for events and resources. This is so that we can create Search API REST views to show data while being able to facet in different ways and filter events and resources in the calendar.

Currently bat_fullcalendar_timeline sets the URLs for events and resources in bat_fullcalendar_timeline.js, and other than patching that file there is no way to change those URLs.

Proposed resolution

- Move the setting of default URLs from bat_fullcalendar_timeline.js to bat_fullcalendar_configure() in bat_fullcalendar.module.

- Only set the default URLs for events or resources if there are no URLs set.

- Allow any code that calls bat_fullcalendar to optionally set custom URLs for events and resources.

I don't think this change is likely to break backwards compatibility.

Feature request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇨🇦Canada dtarc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024