Read the statement by Michael Teeuw here.
Default calender module - two calenders in one module
-
Hi,
is it possible to have two calender.ics in the default module?
I tried the following, but only the first calender is shown.
module: 'calendar', header: 'Kalender', position: 'top_left', config: { maximumEntries: '5', fade: false, calendars: [ { symbol: 'calendar-check-o ', url: 'https://calendar.google.com/calendar/ical/6eg1noirmh70doip6aa3gsmnis%40group.calendar.google.com/public/basic.ics', symbol: 'calendar', url: 'https://calendar.google.com/calendar/ical/6lmacpjrrr96vi590djoo8nadk%40group.calendar.google.com/public/basic.ics' } ] } },Sebastian
-
@shgmongohh
Yes, just change the layout slightly.calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' }, { symbol: 'calendar-check-o ', url: 'https:seconde cal.ics' }, ],
Note from admin: Please use Markdown on code snippets!
-
@kckndrgn
Thank you -
In addition, is it possible to combine the data from two ics files into one calendar. With this solution I get 10/09/2016 two times on my display, in both seperate calendars.
-
At the moment, no.
-
@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' } ] } },
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login