Calendar FAQ: Difference between revisions
Mary Cooch (talk | contribs) (reference to Ankit's google-moodle calendar post) |
(Added ==Problem: Guest cannot access calendar unless they first click on a course link first==) |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 7: | Line 7: | ||
==Why do events without duration not show on the first day of every month?== | ==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 | 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?== | ==How can I show more upcoming events?== | ||
Line 13: | Line 13: | ||
To show more events in the [[Upcoming Events block]], increase the days and/or events to lookahead in ''Site Administration > Appearance > Calendar''. | 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?== | ||
See [[Calendar | Yes. See [[:dev:Calendar types name|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. | ||
Can I have a two way sync with my Moodle calendar with my Google calendar? | ==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: [https://moodle.org/mod/forum/discuss.php?d=218467#p951387 How to sync Google calendar with Moodle calendar] | See this forum post: [https://moodle.org/mod/forum/discuss.php?d=218467#p951387 How to sync Google calendar with Moodle calendar] | ||
Line 22: | 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). | 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. | ||
==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] | |||
==See also== | ==See also== | ||
[[Category:FAQ]] | [[Category:FAQ]] | ||
[[de:Kalender_FAQ]] | [[de:Kalender_FAQ]] | ||
[[es:Calendario FAQ]] |
Latest revision as of 13:58, 13 August 2018
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). See MDL-31622 for further details.
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); }