Calendar FAQ: Difference between revisions

From MoodleDocs
 
(4 intermediate revisions by 3 users not shown)
Line 25: Line 25:
==Why are month names not being displayed in the correct language?==
==Why are month names not being displayed in the correct language?==


Names of days and months are pulled out of your operating system. The system is configured for Moodle in langconfig.php where you have the strings ''locale'' (for -nix type operating systems) and ''localewin'' (for Windows operating systems) that should point to the right locale on your server. Your server operating system should support the language (= locale should be installed). See MDL-31622 for further details.
Names of days and months are pulled out of your operating system. The system is configured for Moodle in langconfig.php where you have the strings ''locale'' (for -nix type operating systems) and ''localewin'' (for Windows operating systems) that should point to the right locale on your server. Your server operating system should support the language (= locale should be installed).
 
==Problem:  Guest cannot access calendar unless they first click on a course link first==
Edit calendar/view.php find and change:
 
require_login($course, false);
 
TO:
 
if ($course == 1){
  require_login($course, true);
} else {
  require_login($course, false);
}
 
See [https://moodle.org/mod/forum/discuss.php?d=359244 this forum thread]
 
==Theme CSS in order to show more detail in month view==
See [https://moodle.org/mod/forum/discuss.php?d=386928&parent=1560045 this forum thread by Jon Bolton]


==See also==
==See also==
Line 33: Line 51:
[[de:Kalender_FAQ]]
[[de:Kalender_FAQ]]
[[es:Calendario FAQ]]
[[es:Calendario FAQ]]
[[fr:FAQ sur le Calendrier]]

Latest revision as of 08:48, 4 December 2019


How can I have teachers add site events?

Make use of a Calendar editor role and assign the teachers to that role on the site.

Why do events without duration not show on the first day of every month?

If your timezone settings are not default you may find that events entered with no duration on the first day of the month, do not show in the month view of the calendar. Setting the two timezone settings in Site administration > Location > Location settings to the default settings should resolve this.

How can I show more upcoming events?

To show more events in the Upcoming Events block, increase the days and/or events to lookahead in Site Administration > Appearance > Calendar.

Can I use a different calendar type instead of Gregorian?

Yes. See Calendar types in the Developer docs. It's possible to set the calendar type preference on the user and course settings page, the same as the language preference. However, unlike the language select box, this option is only shown if there is more than one calendar type. The reason for this is because the majority of sites using Moodle will not want to use another calendar type other than Gregorian.

How can I import calendar events?

See Calendar import.

Can I have a two-way sync with my Moodle calendar with my Google calendar?

See this forum post: How to sync Google calendar with Moodle calendar

Why are month names not being displayed in the correct language?

Names of days and months are pulled out of your operating system. The system is configured for Moodle in langconfig.php where you have the strings locale (for -nix type operating systems) and localewin (for Windows operating systems) that should point to the right locale on your server. Your server operating system should support the language (= locale should be installed).

Problem: Guest cannot access calendar unless they first click on a course link first

Edit calendar/view.php find and change:

require_login($course, false);

TO:

if ($course == 1){
 require_login($course, true);
} else {
 require_login($course, false);
}

See this forum thread

Theme CSS in order to show more detail in month view

See this forum thread by Jon Bolton

See also