Page 1 of 1

CGCalendar Calendar View

Posted: Thu Sep 26, 2019 3:41 pm
by WDJames
Hi All,

I'm using the latest version of CGCalendar (2.6.2) to display events in FullCalendar view. I'm trying to edit the FullCalendar template so that clicking an event directs users to a link that is defined by a Custom Field called Link but I'm unable to get it to work.

I can see the following code but I don't know how to replace the variables to the Custom Field:

Code: Select all

     eventClick: function(event, jsEvent, view) {
       // woot, we can go to a detail view.
       window.location = event.detail_url;
     }
Also, I found this post but it does not outline what needs to be updated:
viewtopic.php?f=7&t=80997&p=342789&hili ... ar#p342789

Any help will be greatly appreciated.

Regards,

James