Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@code999
Which position did you set for the view? put the view in a proper position, then, add this into yourcss/custom.css
.CX2 { width: 800px; }
Or any size you want.
-
can this module work with mmm-keybindings?i’d like to use the spacebar or similar to cycle through scenes
https://github.com/eouia/MMM-CalendarExt2/wiki/3.-Usage
If your module can emit customized notifications(e.g: CALEXT2_SCENE_NEXT or somethings), possible.
Or you can useMMM-NotificationTrigger
to translate or relay original notification to specific customized target notification. -
Hi! I’m trying to modify css. I created css/custom.css in MagicMirror/modules/MMM-CalendarExt2/ and tried doing modifications but none of them seem to do anything. Permissions for dir and file are 777.
Is there something I’m not understanding here?for example I tried this in custom.css but it doesn’t work. This only works in MMM-CalendarExt.css file.
.CX2 .weekSlot.seq_0 .cellSlot .slotSubTitle { position:relative; top:-30px; left:40%; }
Also, how can I get month calendar to only show 4 weeks instead of 5?
-
@jani-karna
You don’t need to create your owncss/custom.css
under module directory. That file locates under your MagicMirror directory.css/custom.css
is a global common file to be used by all the modules. -
Oh, I see. Some modules seem to have their own directory, like MMM-CalendarExt for example. But I’ll use MagicMirror directory instead and try with that.
How about the other question? How can I get month calendar to show 4 weeks instead of 5?
-
@jani-karna
MMM-CalendarExt
was so an early and old module, so it has an improper structure. I’ll deprecate the css in some days.For your Second Question.
month
view could have 4~6 weeks in a table by the days. If you want to fix 4 weeks, useweek
view insteadmonth
-
I’m not sure I understood. Is month view possible to set to show 4 weeks? I also changed to week mode but it only shows 3 weeks instead of 4.
-
@jani-karna
You can set how many weeks to be shown withslotCount
inweek
view. -
@Sean
Thank you, that did the job.Sorry to bother you with one more question: I have 1 scene and 1 view and 3 calendars. All of the calendars are in same week view. I’m trying to have all the 3 calendars to be visible at the same time in week view without rotating between them. I thought this is default with just one scene and one view.
-
I have 1 scene and 1 view and 3 calendars. All of the calendars are in same week view. I’m trying to have all the 3 calendars to be visible at the same time in week view without rotating between them. I thought this is default with just one scene and one view.
??? You mean your calendars are not shown in one week view? As you said, that is the default unless you set separate views.
If all of your events are not shown in a view, it might bemaxItems
issue. It is limited as max 100 events by default for the performance. In that case, you can set bigger value tomaxItems
of view.