Todays Calendar Event

Be sure your league is setup properly before installing any scripts.Setup Video
Todays Calendar Event script creates a new module you can place on your homepage. Install it in any homepagemessage. The script will grab any events scheduled for today and make a new report you can place on your site.
All scripts require 1 instance of the cache.js file to be placed in a header message as the 1st line
<script src="https://www.mflscripts.com/mfl-apps/global/cache.js"></script>

Todays EventsPlace in any homepagemessage

<script>
const calendarOptionURL = `${baseURLDynamic}/${year}/options?L=${league_id}&O=123&PRINTER=1`;

fetch(calendarOptionURL)
  .then(response => response.text())
  .then(html => {
    const monthlyCalendar = $(html).find('#monthly_calendar td.today ul');
    const monthlyEvents = $('#monthly_events2');
    monthlyCalendar.appendTo(monthlyEvents.find('td.cal_append'));
    monthlyEvents.find('ul li').wrap('<div class="cal-event"><div class="cal-event-desc"></div></div>');
    monthlyEvents.find('.cal-event').unwrap();
    monthlyEvents.find('.cal-event-desc li').css('list-style', 'none');
    if (monthlyEvents.find('.cal_append:empty').length > 0) {
      monthlyEvents.find('.cal_append').append(
        '<div class="cal-event"><div class="cal-event-desc" style="font-style:italic"><li style="list-style:none">No Events Today</li></div></div>'
      );
    }
  })
  .catch(error => console.error(error));
</script>

<div class="mobile-wrap">
  <table class="homepagemodule report" id="monthly_events2" align="center" cellspacing="1">
   <caption>
    <span>Todays Calendar Events</span>
   </caption>
    <tbody>
     <tr class="oddtablerow">
      <td class="cal_append"></td>
     </tr>
    </tbody>
  </table>
</div>