Reference¶
plugin.tx_megooglecalendar.settings properties: TS Constants
Property
cssPath
Data type
string
Description
If you want to customize the CSS File, define the path like: fileadmin/templates/css/styles.css. Leave empty to not include.
Default
EXT:me_google_calendar/Resources/Public/Css/main.css
Property
printCssPath
Data type
string
Description
Path to print css file
Default
EXT:me_google_calendar/Resources/Public/Css/fullcalendar.print.css
Property
cssThemePath
Data type
string
Description
Path to CSS theme file. Leave empty to not include.
Default
EXT:me_google_calendar/Resources/Public/JavaScript/jquery- ui/themes/smoothness/jquery-ui.min.css
Property
jQueryPath
Data type
string
Description
Path to jQuery file. Leave empty to not include.
Default
EXT:me_google_calendar/Resources/Public/JavaScript/jquery/jquery.min .js
Property
jQueryUiPath
Data type
string
Description
Path to jQuery UI file. Leave empty to not include
Default
EXT:me_google_calendar/Resources/Public/JavaScript/jquery-ui/jquery- ui.min.js
Property
fullCalendarPath
Data type
string
Description
Path to jQuery calendar plugin file. Leave empty to not include.
Default
EXT:me_google_calendar/Resources/Public/JavaScript/fullcalendar.min. js
Property
fullCalendarMomentPath
Data type
string
Description
Path to jQuery plugin moment.min.js file
Default
EXT:me_google_calendar/Resources/Public/JavaScript/moment.min.js
Property
fullCalendarLangAllPath
Data type
string
Description
Path to jQuery plugin lang-all.js file
Default
EXT:me_google_calendar/Resources/Public/JavaScript/locale-all.js
Property
gcalPath
Data type
string
Description
Path to gcal.js script file (needed for reading xml-feed from google). Leave empty to not include.
Default
EXT:me_google_calendar/Resources/Public/JavaScript/gcal.min.js
Property
meGoogleCalendarPath
Data type
string
Description
Path to me_google_calendar.js file. Leave empty to not include.
Default
EXT:me_google_calendar/Resources/Public/JavaScript/main.js
Property
jQueryExternal
Data type
boolean
Description
Path to jQuery is external (e.g. from an CDN)
Default
0
Property
jQueryDisableCompression
Data type
boolean
Description
Disable compression of jQuery
Default
1
Property
jQueryUiExternal
Data type
boolean
Description
Path to jQuery is external (e.g. from an CDN)
Default
0
Property
jQueryUiDisableCompression
Data type
boolean
Description
Disable compression of jQuery-UI
Default
1
Property
fullCalendarDisableCompression
Data type
boolean
Description
Disable compression of fullCalendar.js
Default
0
Property
gcalDisableCompression
Data type
boolean
Description
Disable compression of gcal.js
Default
0
Property
meGoogleCalendarDisableCompression
Data type
boolean
Description
Disable compression of me_google_calendar.js
Default
0
Property
cssThemePathExternal
Data type
boolean
Description
Path to cssThemePath is external
Default
0
Property
jsLibsPosition
Data type
options
Description
includeJSFooterlibs: Javascript libraries in footer / includeJSlibs: Javascript libraries in header
Default
includeJSFooterlibs
Property
jsPosition
Data type
options
Description
includeJSFooter: Javascript in footer / includeJS: Javascript in header
Default
includeJSFooter
Property
recursive
Data type
integer
Description
Recursive level
Default
0
Property
hideHeader
Data type
boolean
Description
hide header content
Default
0
Property
headerLeft
Data type
string
Description
Left header content. Allowed values: prev, next, today, title, month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list. Use comma for separation and [Space] for distance.
Default
prev,next today
Property
headerCenter
Data type
string
Description
Center header content. Allowed values: prev, next, today, title, month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list. Use comma for separation and [Space] for distance.
Default
title
Property
headerRight
Data type
string
Description
Right header content. Allowed values: prev, next, today, title, month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list. Use comma for separation and [Space] for distance.
Default
month,agendaWeek,agendaDay
Property
hideFooter
Data type
boolean
Description
hide footer content
Default
1
Property
footerLeft
Data type
string
Description
Left footer content. Allowed values: prev, next, today, title, month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list. Use comma for separation and [Space] for distance.
Default
prev,next today
Property
footerCenter
Data type
string
Description
Center footer content. Allowed values: prev, next, today, title, month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list. Use comma for separation and [Space] for distance.
Default
title
Property
footerRight
Data type
string
Description
Right footer content. Allowed values: prev, next, today, title, month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list. Use comma for separation and [Space] for distance.
Default
month, agendaWeek, agendaDay
Property
defaultView
Data type
string
Description
Default view of the calendarAllowed values: month, agendaWeek, agendaDay, basicWeek, basicDay, listDay, listWeek, listMonth, listYear, list
Default
AgendaWeek
Property
allDaySlot
Data type
boolean
Description
Show all day events slot in agenda views
Default
0
Property
firstDay
Data type
number
Description
First day of week. Can be 0 for sunday or 1 for monday
Default
0
Property
weekends
Data type
boolean
Description
Show weekends as well
Default
0
Property
weekNumbers
Data type
boolean
Description
Show week numbers
Default
0
Property
weekNumbersWithinDays
Data type
boolean
Description
Show week numbers within days
Default
0
Property
weekNumberCalculation
Data type
string
Description
Week number calculation
Default
ISO
Property
minTime
Data type
string
Description
Mix time for agenda views in format hh:mm:ss
Default
00:00:00
Property
maxTime
Data type
string
Description
Max time for agenda views in format hh:mm:ss
Default
24:00:00
Property
scrollTime
Data type
string
Description
Scroll to time in format hh:mm:ss
Default
08:00:00
Property
weekMode
Data type
string
Description
Defines the way week are shown in month. Can be 'fixed' or 'variable'
Default
variable
Property
hideTitle
Data type
boolean
Description
Hide title content
Default
0
Property
eventLimit
Data type
boolean
Description
Show more events link, if they do not fit into time slot
Default
0
Property
titleFormat.month
Data type
string
Description
Date format* for month title
Default
MMMM YYYY
Property
titleFormat.week
Data type
string
Description
Date format* for week title
Default
MMM D YYYY
Property
titleFormat.day
Data type
string
Description
Date format* for day title
Default
MMMM D YYYY
Property
columnFormat.month
Data type
string
Description
Defines the column format* for the month view
Default
dddd
Property
columnFormat.week
Data type
string
Description
Defines the column format* for the week view
Default
ddd DD.MM.
Property
columnFormat.day
Data type
string
Description
Defines the column format* for the day view
Default
dddd DD.MM.
Property
timeFormat.agenda
Data type
string
Description
Time format* for agenda view
Default
HH:mm
Property
timeFormat.day
Data type
string
Description
Time format* for day view
Default
HH:mm
Property
timeFormat.week
Data type
string
Description
Time format* for week view
Default
HH:mm
Property
timeFormat.month
Data type
string
Description
Time format* for month view
Default
HH:mm
Property
timeFormat.general
Data type
string
Description
General time format*
Default
HH:mm
Property
timeZone
Data type
string
Description
e.g. Europe/Berlin. If empty (default) the timezone defined inside google UI will be used
Default
Property
noGoogleMapsLink
Data type
boolean
Description
Do not generate link to google maps
Default
0
Property
hideIcalDownloadButton
Data type
boolean
Description
Hide ical download button in event details
Default
0
Property
hideAddtoGoogleCalendarButton
Data type
boolean
Description
Hide add to google calendar button
Default
0
Property
height
Data type
integer
Description
Height of calendar
Default
0
Property
aspectRatio
Data type
string
Description
Aspect ratio
Default
1.35
Property
overrideFlexformSettingsIfEmpty
Data type
string
Description
Override flexform setting if empty
Default
cssThemePath, headerLeft, headerCenter, headerRight, footerLeft, footerCenter, footerRight, defaultView, allDaySlot, firstDay, firstHour, weekends, minTime, maxTime, hideTitle, hideIcalDownloadButton, hideAddtoGoogleCalendarButton, noGoogleMapsLink, height
Property
eIdGetIcsUrl
Data type
string
Description
eID Script URL for ics file generation
Default
/index.php?eID=meGoogleCalendarEidGetIcs
Property
language
Data type
string
Description
language key
Default
de
* For more infos about the time/date format, please read the documentation on the website of the FullCalendar plugin author:
http://arshaw.com/fullcalendar/docs/date-utils.php#formatdates
TS Constants Example¶
plugin.tx_megooglecalendar {
settings {
# change included jquery to a cdn version
jQueryPath = //ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
jQueryExternal = 1
# switch from jqueryui theme/dialog to bootstrap modal:
jQueryUiPath =
cssThemePath =
# change min and max time
minTime = 08:00:00
maxTime = 18:00:00
# set first day to monday
firstDay = 1
}
}
CSS Styling Example¶
If you want to show all events from a calendar in red, just add the predefined CSS Class “fc-red” to the Google Calendar Feed Record Field "Css".
There are six already predefined style definitions in the included main.css file:
fc-red, fc-green, fc-blue, fc-grey, fc-orange, fc-purple
You also can define your own (example for “my-color-1”):
.fc-event.my-color-1,
.fc-agenda .fc-event.my-color-1 .fc-event-time,
.fc-event.my-color-1 a {
background-color:#ff0000;
border-color:#ff0000;
color:#fff;
}