Disable all FullCalendar Viz popups

ontarget

Active Member
Hi
I wish to completely disable all popups on the fullcalendar viz and only show data in the calendar entry
I have set

  • "Label Element" to a calc element which works
  • My "Popup Template" is blank and
  • Options > Show Full Details = No

However the popup still shows.

I assume I need to modify the js file? however unsure which lines to comment out or override.
Also can a js override file be created for the Calendar Viz? If yes where would i place the file?
Thanks
 
I can do a CSS solution:

CSS:
div#fabrikEvent_modal.modal.fade.fabrikEventModal.in {display:none!important;}
however will that affect any other modal actions i may use in Fabrik?
 
you can do
.fc-event[href], .fc-event.fc-draggable {
cursor: default;
pointer-events: none;
}
in a custom CSS
/plugins/fabrik_visualization/fullcalendar/views/fullcalendar/tmpl/your-fullcalendar-template/custom_css.php
 
Thanks Troester,
I can see your solution is better than mine as the custom css only applies to the calendar viz.
 
Hi Troester,
I have implemented a css solution that blocks the event popup however I require that an image link opens a new blank page
I am using a Calc element for the Label element like so:

PHP:
return
"<span style='color:black; font-weight:normal;'>TITLE:</span> " . ' {aaa_calendar___organisation}' . " " . '- {aaa_calendar___title}' . "
<br>
<span style='color:black; font-weight:normal;'>LOCATION:</span> " . '{aaa_calendar___county_p}' . "
<br>
<a href='{aaa_calendar___external_link}' target='_blank' ;><img src='https://calendar.cslireland.ie/images/moredetails.svg' alt='go to website'/></a>";


UPDATE!
ok ignore everything above talk about me trying to overcomplicate things! I simply put
{aaa_calendar___external_link} in the Custom URL field of the Viz and it works as expected!
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top