Read the statement by Michael Teeuw here.
Calendar modification
-
@MichMich I tried the link and I just get an 404 error. If you would be so kind as to look into this or if you just want put it on the wiki yourself I’m fine with that.
-
Link works for me … unless something changed between when you posted your response and now …
-
attention!
this works only if the calendar is shared to public! -
@garnett, both public and private Google calendars work. I have both displayed on mine.
-
@KirAsh4
uh yes, sorry! thats right. i was confused by the message from the google calendar.works with private and public ;)
-
Can somebody please post their config file with the maximumNumberOfDays line inserted. I’m not sure what I’m doing wrong but everytime I try to adjust this I crash my config file. Everything else is working perfect.
Thanks
-
@aarinsingh Could you copy paste your config including the maximumNumberOfDays (so I can try to find what you’re doing wrong). Don’t forget to remove sensitive data.
-
Here is my info @aarinsingh , it doesn’t crash but it is also not limiting the number of days. From what I can see at a quick glance is that this was using a method that may have been replaced in the load process for this module, because it seems to only be using the default for this setting. I may follow to code later and see how this is loading and why my setting is being ignored.
{ module: 'calendar', header: 'Events', position: 'top_left', maximumNumberOfDays: 7, config: { calendars: [ { symbol: 'calendar-check-o ', url: 'https://calendar.google.com/calendar/ical/your-info' } ] } },
Note from admin: Please use Markdown on code snippets!
-
Put it after config: { and it will work
-
maximumNumberOfDays
should be part of theconfig
object:{ module: 'calendar', header: 'Events', position: 'top_left', config: { maximumNumberOfDays: 7, calendars: [ { symbol: 'calendar-check-o ', url: 'https://calendar.google.com/calendar/ical/your-info' } ] } },