Calendar settings: Różnice pomiędzy wersjami

Z MoodleDocs
Skocz do:nawigacja, szukaj
m (/* List format change PS to tip)
(calendar type)
 
(Nie pokazano 19 wersji utworzonych przez 9 użytkowników)
Linia 1: Linia 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'':


===Calendar type===
Since 2.6.2, 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.


==Importing multiple events==
===Admins see all===


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.
Whether admins see all calendar events or just those that apply to themselves.


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!
===Time display format===
To convert MS Excel dates to moodle Unix dates use: Unix date integer =((Excel date integer)-25569)*86400


==List format==
Whether a 12 or 24 hour format is used. This setting can be overridden by user preferences.
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:
===Start of week===


*'''calcdate''': DateValue("1/1/1970")+[timestart]/60/60/24+10/24
Default is Sunday.
*'''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===


*Dte: Format([daysavdate],"mmm dd")
Weekend days are shown in a different colour.
*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.
===Days and events to look ahead===
:''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==
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.
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==
===Calendar export days to look ahead and back===


Use link: http://moodle.org/calendar/view.php?view=day
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]]
[[Category:Calendar]]


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

Aktualna wersja na dzień 08:34, 7 maj 2014

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

Since 2.6.2, 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