Read the statement by Michael Teeuw here.
Default Calendar
-
Re: Default Modules
Is there a way to have 2 calendars I used to have 1 for Birthdays and one for holidays. I simply renamed the default calendar to calendarh and moved it to the moduels folder and in the config.js the config was under calendarh
I also renamed the css and js files for calendarh directory. I had to go in and change a few things in the js and the css. It all worked so nice. now I can not do that for some reason. Any suggestions what I may be doing wrong this time… ?{ module: "calendar", position: "middle_center", header: "Birthdays", config: { fade: false, maximumEntries: 4, timeFormat: "absolute", urgency: 3, getRelative: 24, calendars: [ { symbol: "birthday-cake", url: "https://calendar.google.com } ] } }, { module: "calendarh", position: "middle_center", header: "US Holidays", config: { fade: false, maximumEntries: 4, timeFormat: "absolute", urgency: 3, getRelative: 24, calendars: [ { symbol: "h-square", url:"https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics" } ] } },
-
@sdetweil that worked error was syntax, got it working thanks sam
-
@plainbroke you didn’t need to do all that.
just define another calendar module if you want them separate.
or add another entry in the calendars list if u want the events combined
-
@sdetweil
Sorry I do not understand what you mean. “define another calendar module”.
I have the events combined right now I really would like them as two seperate calendars. I use carousel remember. My Calendars cover most of the screen. -
{ module:'calendar': position:'top_left', classes:'page1' config:{ . . .} }
and
{ module:'calendar': position:'top_right', classes:'page2' config:{ . . .} }
use mmm-pages, easier
the modules list for pages is
[ [ 'page1' ], [ 'page2' ] ]
all the modules u want on page 1 use the page1 class
(it’s just a name, but pages looks for classes, and carousel does not) -
@sdetweil
Thanks I will look into it when i get time. I have carousel working pretty well now. 33 out of the 40 I had working on MM before update to 2.18, so I am plenty happy… -
I setup two different calendars in the config with url: “”, and url:“” however only one displays, am I missing something?
-
@swvalenti in the module config, the calendars sestting is a list
calendars: [ { url: // first calendar ics symbol: }, { url: // second calendar ics symbol: }, ] // <- end of list
-
@sdetweil This is what I have but crashes the mirror…its the same as you put
calendars: [ { symbol: "calendar-check", url: "" }, { symbol: "calendar-check", url: "" }, ] }
-
@swvalenti show me the output of ‘crashes the mirror’
-
@sdetweil Just goes to a black screen and throws a bunch of red errors in the cmd window, cant even run dev, one at a time works fine