CGCalendar FullCalendar no link to details page
Posted: Mon Sep 26, 2016 11:27 am
In "old" CGCalendar (CMSMS V1) you used to be able to structure the template with if statements so that if the event details field was blank (it often is on my sites), then no link to the full details page is shown (as there is nothing more to show than already appears on the full calendar page).
I have looked around (including the Site Admin > CGCalendar Settings page and also the "CGCalendar FullCalendar View Sample" template) but I cannot see how to do that anymore. It seems that the tight integration with the FullCalendar package does not allow such fine tuning.
The best I can do is turn off all links to details pages (I don't want to remove them all) by removing this from the "CGCalendar FullCalendar View Sample" template:
Does anyone know how to achieve this?
Thanks
I have looked around (including the Site Admin > CGCalendar Settings page and also the "CGCalendar FullCalendar View Sample" template) but I cannot see how to do that anymore. It seems that the tight integration with the FullCalendar package does not allow such fine tuning.
The best I can do is turn off all links to details pages (I don't want to remove them all) by removing this from the "CGCalendar FullCalendar View Sample" template:
Code: Select all
eventClick: function(event, jsEvent, view) {
// woot, we can go to a detail view.
window.location = event.detail_url;
}
Thanks