A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Default calender module - two calenders in one module
-
@kckndrgn I tried the same and only the first (my personal calendar) is showing. Here is my text:
config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://calendar.google.com/calendar/ical/........./basic.ics' }, { symbol: 'calendar-check-o ', url: 'webcal://calendar.google.com/calendar/ical/en.hungarian%23holiday%40group.v.calendar.google.com/public.basic.ics' }, ],
Thanks in advance!
Laszlo
Note from admin: Please use Markdown on code snippets for easier reading!
-
@Laca44 I don’t see anything wrong with the config, if you just have the second calendar by itself will it show?
-
Restart the process so the new fetcher gets created properly.
-
Sorry everyone. It was my mistake. The other calendar had its first element to far in the future to show it. Thanks for the assistance! :)
-
I use several calendars, want it were all in one module, but that each could set maximumEntries and / or maximumNumberOfDays
Now my config looks like this:
{ module: 'calendar', header: 'Nadchodzące święta', position: 'top_left', config: { maximumEntries: 2, fadePoint: 0.25, calendars: [ { symbol: 'calendar-o ', url: 'webcal://www.mozilla.org/media/caldata/PolishHolidays.ics' } ] } }, { module: 'calendar', header: 'Google Calendar', position: 'top_left', config: { maximumNumberOfDays: 7, calendars: [ { symbol: 'calendar-o', url: 'https://calendar.google.com/calendar/ical/XXXXXXXXXXX/basic.ics' } ] } }, { module: 'calendar', header: 'Facebook Calendar', position: 'top_left', config: { maximumNumberOfDays: 2, fadePoint: 0.75, calendars: [ { symbol: 'calendar-o', url: 'webcal://www.facebook.com/ical/u.php?uid=XXXXXXXXX' }, { symbol: 'birthday-cake', url: 'webcal://www.facebook.com/ical/b.php?uid=XXXXXXXXX' } ] } },
And i want:
{ module: 'calendar', header: 'Kalendarz', position: 'top_left', config: { maximumEntries: 10, calendars: [ { symbol: 'calendar-o ', maximumEntries: 2, maximumNumberOfDays: 21, url: 'webcal://www.mozilla.org/media/caldata/PolishHolidays.ics' }, { symbol: 'calendar-o', maximumNumberOfDays: 7, url: 'https://calendar.google.com/calendar/ical/XXXXXXXXXXX/basic.ics' }, { maximumNumberOfDays: 2, symbol: 'calendar-o', url: 'webcal://www.facebook.com/ical/u.php?uid=XXXXXXXXX' }, { maximumNumberOfDays: 2, symbol: 'birthday-cake', url: 'webcal://www.facebook.com/ical/b.php?uid=XXXXXXXXX' } ] } },