Calendar settings

Published: Thursday, 08 June 2017 05:57

In CFv6 there are various settings which can be used for the Calendar element


You can translate many strings in the calendar, for this you need to place the translated strings in the 'Extra attributes' box in the calendar settings Advanced tab:

data-days:Sx, M, D, M, D, F, S
data-months:Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember
data-monthsShort:Jan, Feb, Mar, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez

You can also provide multiple languages translations for the strings using the Locales shortcode: {l:JAN} and use JAN=Janvier in the locales section e.g.:

data-months:{l:JAN}, {l:FEB}, {l:MAR}, {l:APR}, {l:MAY}, {l:JUN}, {l:JUL}, {l:AUG}, {l:SEP}, {l:OCT}, {l:NOV}, {l:DEC}

Other settings

User healyhatman has found that you can edit the ChronoForms CFV6 code to enable other settings. For an example see this forum post - the available Semantic UI settings can be found in the Settings section here.