Calendar settings: Difference between revisions

From MoodleDocs
(content copied from Calendar block, see also)
No edit summary
 
(34 intermediate revisions by 15 users not shown)
Line 1: Line 1:
==Importing multiple events==
{{Calendar}}
==Preference settings==
Both the daily detail screen and the monthly detail screen have the Preferences button in the upper right. Here you can set the time format, first day of the week, number of events to show in the calendar block, days to look forward for events and if the filters on this calendar should be saved as the default for all calendars.


Currently there is no way to import data to create multiple events.  All events must be individually entered through the New Event button. Because the New Event data entry screen only allows drop down selection rather than typed entries, it is very difficult to design a macro for quick repeated input of New Events.
==Site administration settings==


To only other option is to directly connect to the central moodle [SQL] database and directly enter data into the events table.  ''Great care'' needs to be taken with this approach as alterations to the data structure may cause your moodle site to crash!
The following settings can be changed by a site administrator in ''Administration > Appearance > Calendar'':
To convert MS Excel dates to moodle Unix dates use: Unix date integer =((Excel date integer)-25569)*86400


==List format==
===Calendar type===
The calendar displays even lists one day at a time.  There is no capacity to display a list of all site or course events over an extended period.  To obtain date lists for publications, the only option is to link directly to the SQL database, select by the "courseid" and perform calculations to convert the UNIX "timestart" to a publishable date format:


Using a Microsoft Access query, collect data from the '''mdl_event''' table and create 2 calculated fields:
The admin can choose a default calendar type for the whole site here. Individual users can override this in the course settings or in their user profile.


*'''calcdate''': DateValue("1/1/1970")+[timestart]/60/60/24+10/24
===Admins see all===
*'''daysavdate''': IIf([calcdate] Between #2/04/2006# And #29/10/2006#,[calcdate],[calcdate]+1/24)


Then, use additional calculated fields to seperate the date, day of week and time (if needing to be  formatted seperately:
Whether admins see all calendar events or just those that apply to themselves.


*Dte: Format([daysavdate],"mmm dd")
===Time display format===
*DayName: Format([daysavdate],"ddd")
*Tme: Format([daysavdate],"hh:nn am/pm")


PS: The dates for daylight saving need to be changed each year to match your location.
Whether a 12 or 24 hour format is used. This setting can be overridden by user preferences.
PS: Very breif summary process for creating connection to moodle database in Windows environment: Install MySQL OBDC Driver 3.51 / Start settings control panel / admin tools/ Data Sources/ ODBC /  add new service/ select MySQL ODBC driver/ follow prompts for User & password/ open access/ get external data/ point to MySQL ODBC connection


==Navigating months==
===Start of week===
There is no easy way to jump to a specific month in the year other than to directly edit the URL variable for month "m=" :  calendar/view.php?view=month&cal_d=1&cal_'''m=02'''&cal_y=2006
 
Default is Sunday.
 
===Weekend days===
 
Weekend days are shown in a different colour.
 
===Days and events to look ahead===
 
For determining how many events are listed in the [[Upcoming Events block]]. If the Upcoming Events block becomes too long you can reduce the number of days and events to lookahead.
 
===Calendar export days to look ahead and back===
 
A custom range of dates, such as a school term or year, may be set as a calendar export option.
 
===Calendar export salt===
 
The calendar export salt is a random string of characters used for improving of security of authentication tokens used for exporting of calendars.
 
==Calendar permissions==
 
*[[Capabilities/moodle/calendar:manageentries|moodle/calendar:manageentries]]
*[[Capabilities/moodle/calendar:manageownentries|moodle/calendar:manageownentries]]
*[[Capabilities/moodle/calendar:managegroupentries|moodle/calendar:managegroupentries]]
 
The [[Calendar editor role]] may be used to enable users to add course or site events to the calendar.
 
[[Category:Site administration]]


==See also==
==See also==


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=52320 URL to show today's calendar] forum discussion
*[[:dev:Calendar types|Calendar types in Developer Docs]]
 


[[Category:Administrator]]
[[fr:Paramètres du Calendrier]]
[[ja:カレンダー (管理者)]]
[[de:Kalendereinstellungen]]
[[es:Configuraciones del Calendario]]

Latest revision as of 09:38, 3 May 2019

Preference settings

Both the daily detail screen and the monthly detail screen have the Preferences button in the upper right. Here you can set the time format, first day of the week, number of events to show in the calendar block, days to look forward for events and if the filters on this calendar should be saved as the default for all calendars.

Site administration settings

The following settings can be changed by a site administrator in Administration > Appearance > Calendar:

Calendar type

The admin can choose a default calendar type for the whole site here. Individual users can override this in the course settings or in their user profile.

Admins see all

Whether admins see all calendar events or just those that apply to themselves.

Time display format

Whether a 12 or 24 hour format is used. This setting can be overridden by user preferences.

Start of week

Default is Sunday.

Weekend days

Weekend days are shown in a different colour.

Days and events to look ahead

For determining how many events are listed in the Upcoming Events block. If the Upcoming Events block becomes too long you can reduce the number of days and events to lookahead.

Calendar export days to look ahead and back

A custom range of dates, such as a school term or year, may be set as a calendar export option.

Calendar export salt

The calendar export salt is a random string of characters used for improving of security of authentication tokens used for exporting of calendars.

Calendar permissions

The Calendar editor role may be used to enable users to add course or site events to the calendar.

See also