Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Calendar settings.

Calendar settings: Difference between revisions

From MoodleDocs
m (/* List format change PS to tip)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Location: ''Administration > Appearance > Calendar''
{{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.


==Site administration settings==


The days and events to lookahead settings are for displaying events in the [[Upcoming Events block]]. If the Upcoming Events block becomes too long you can reduce the number of days and events to lookahead.
The following settings can be changed by a site administrator in ''Administration > Appearance > Calendar'':


===Admins see all===


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


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.
===Time display format===


The 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!
Whether a 12 or 24 hour format is used. This setting can be overridden by user preferences.
To convert MS Excel dates to moodle Unix dates use: Unix date integer =((Excel date integer)-25569)*86400


==List format==
===Start of week===
The calendar displays event 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:
Default is Sunday.


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


Then, use additional calculated fields to separate the date, day of week and time (if needing to be  formatted separately:
Weekend days are shown in a different colour.


*Dte: Format([daysavdate],"mmm dd")
===Days and events to look ahead===
*DayName: Format([daysavdate],"ddd")
*Tme: Format([daysavdate],"hh:nn am/pm")


:''TIP:'' The dates for daylight saving need to be changed each year to match your location.
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.
:''TIP:'' Very brief summary process for creating connection to moodle database in Windows environment: Install MySQL [[ODBC]] 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==
===Calendar export===
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


==Display Current Day Events==
The calendar export salt is a random string of characters used for improving of security of authentication tokens used for exporting of calendars.


Use link: http://moodle.org/calendar/view.php?view=day
==Calendar permissions==


==See also==
*[[Capabilities/moodle/calendar:manageentries|moodle/calendar:manageentries]]
*[[Capabilities/moodle/calendar:manageownentries|moodle/calendar:manageownentries]]
*[[Capabilities/moodle/calendar:managegroupentries|moodle/calendar:managegroupentries]]


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=52320 URL to show today's calendar] forum discussion
The [[Calendar editor role]] may be used to enable users to add course or site events to the calendar.


[[Category:Administrator]]
[[Category:Site administration]]
[[Category:Calendar]]


[[fr:Calendrier (administrateur)]]
[[fr:Calendrier (administrateur)]]
[[ja:カレンダー ( 管理者 )]]
[[ja:カレンダー (管理者)]]
[[de:Kalendereinstellungen]]

Latest revision as of 12:06, 23 March 2012

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:

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

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.