Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
Custom ID

Item link slug. Optional field.

Info
titleUnique field
 Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.
LabelMenu label. Mandatory field.
Page TitleCalendar page title
Data Binder

List of ตัวยึดข้อมูลดาตาลิสต์ (Datalist Binder) will be shown to source entries data from.

Auto Handle Date Range

Enable to auto handle date range or disable to manually use #requestParam.start# and #requestParam.end# in your binder configuration.

Date format is yyyy-MM-dd.

...

NameDescription
Google Calendar Integration -
Additional Data

Configurations to load calendar entries from Google Calendar.

Notes if you want the Calendar Menu plugin to connect to Google Calendar

  1. Every request your application sends to the Google Calendar API must include an authorization token. The token also identifies your application to Google. Here are the steps to obtain the Google Calendar API Key:
    • Go to the Google Developer Console and create a new project (it might take a second).
    • Once in the project, go to APIs & auth > APIs on the sidebar.
    • Find "Calendar API" in the list and turn it ON.
    • On the sidebar, click APIs & auth > Credentials.
    • In the "Public API access" section, click "Create new Key".
    • Choose "Browser key".
    • If you know what domains will host your calendar, enter them into the box. Otherwise, leave it blank. You can always change it later.
    • Your new API key will appear. It might take second or two before it starts working.
    • Copy and paste your API key into the Calendar menu properties "Configure Calendar Menu>Data Binder>Advanced" page.
  2. Steps to enable your Google Calendar to be public:
    • In the Google Calendar interface, locate the "My calendars" area on the left.
    • Hover over the calendar you need and click the downward arrow.
    • A menu will appear. Click "Calendar Settings".
    • Check "Make this calendar public".
    • Make sure "Share only my free/busy information" is unchecked.
    • Click "Save".
    • Obtain your Google Calendar's ID:
    • In the Google Calendar interface, locate the "My calendars" area on the left.
    • Hover over the calendar you need and click the downward arrow.
    • A menu will appear. Click "Calendar settings".
    • In the "Calendar Address" section of the screen, you will see your Calendar ID. It will look something like "abcd1234@group.calendar.google.com".
    • Copy and paste your API key into the Calendar menu properties "Configure Calendar Menu>Data Binder>Advanced" page.
    • You can read more at Google Calendar API site.
Event Rendering Callback (Javascript)
Custom Javascript code.
Event After Rendering Callback (Javascript)
Custom Javascript code.
Event After All Rendering Callback (Javascript)
Custom Javascript code.
Event Click Callback (Javascript)

Custom Javascript code.

Code Block
titleSample Code to open up form view in a popup dialog
linenumberstrue
var popupActionDialog = new PopupDialog("calendarDisplayForm?id="+event.id+"&embed=true");
popupActionDialog.init();
Time Display Format
Refer to https://fullcalendar.io/docs/date-formatting-string for formats.
Custom Header (HTML)
Custom header in HTML to show on the top of the calendar.
Custom Footer (HTML)
Custom footer in HTML to show on the bottom of the calendar.

...