Read the statement by Michael Teeuw here.
Calendar Symbols Question
-
why is there “space” (blank character) after the name of symbol? Did you try instead of bell to use another symbol? BTW, is there (in the screenshot) any item from “https://calendar.google.com/blahblahblah” calendar at all?
-
Space removed in my config.js made no difference. All three calendars are represented in the output. Tried other symbols as well.
Thx for the suggestions!
-
Regarding the limit to 4 entries, I think you shouldn’t use “” around the number, so try just
maximumEntries: 4,
(and also adjust the global setting from “10” to 10. As 10 is the default, it does not have an effect anyway)
Maybe this also fixes the wrong symbol? If not, what happens if you e.g. switch the order of calender 1 and 2 (just as a test).
-
Config currently looks like the following. Still have the icon issue. Will try moving things around.
{ module: "calendar", position: "top_left", maximumEntries: 8, config: { calendars: [ { symbol: "calendar", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" }, { symbol: "bell", url: "https://calendar.google.com/calendar/ical/blahbkah", maximumEntries: 4 }, { symbol: "home", url: "https://calendar.google.com/calendar/ical/blah" } ], } },
-
I don’t have access to my MM at the moment, therefore I couldn’t test your configuration.
However two comments- There should be a comma after
url: "https://calendar.google.com/calendar/ical/blahbkah"
(like it was in your old code sample).
- The quotation marks at the end of the url look different in calender 2 and 3 compared to 1. I don’t know if this is a problem in your sample code or if you should adjutst the actual configuration file.
-
Hey sharp eye! I copy and pasted using my iPad and trimmed the long iCal urls. Everything is correct though in my config.js.
Thanks!
-
And does it work?
I made a test using{ module: "calendar", position: "top_left", maximumEntries: 8, config: { calendars: [ { symbol: "calendar", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" }, { symbol: "bell", url: "https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics", maximumEntries: 4 }, { symbol: "home", url: "https://www.calendarlabs.com/ical-calendar/ics/52/Islam_Holidays.ics" } ], } },
and the symbols look OK: