Read the statement by Michael Teeuw here.
My first MagicMirror
-
@Mykle1 Yes!
-
Hi
Great job.
Wats ist your configuration on calendar_monthly module?
This look very nice. -
@Leobo I actually tweak the calendar_monthly module and created/renamed the module to show previous and next month calendars - a crude way of doing it but it served my purpose :)
-
Thanks @MadsChaves. That’s working. :thumbs_up_light_skin_tone:
-
@MadsChaves How did you tweek the calendar_monthly module? I’ve been racking my brain looking at the js and I’m too much of a newbie to even know where to start!
-
@sonicgoose generally u change the config.js entry, after viewing the README.md file for instructions
-
-
@sonicgoose css is done by editing the css/custom.css file to add your specific module requiremed css classes and styles
-
@sdetweil After doing more reading, I found the modified .js file on GitHub. Replace original
~/MagicMirror/modules/calendar_monthly/calendar_monthly.js
with this one (not mine) and edit~/MagicMirror/config/config.js
to load the module as follows:{ disabled: false, module: 'calendar_monthly', position: "top_left", config: { showHeader: true, // cssStyle: "", monthOffset: 0, } },
That will show the current month. If you want the previous month, then add the module again before the current month and change
monthOffset
to-1
. For the next month, add the module again after the current month and changemonthOffset
to1
.If you want current month plus the next two months, then add the module three times with
monthOffset
set to0
,1
, and2
.