Read the statement by Michael Teeuw here.
MMM-CalendarExt3Agenda
-
I have two instances of MMM-CalendarExt3Agenda showing with different calendar sets.
For one set it shows data for 4 days, with all days populated.
For the other one, it shows 4 days but the last day isn’t populated. If I increase the endDayIndex by 1 it will add a 5th day and day 4 will be populated but the 5th day will not, so I know the data is there.
Any ideas what would cause this?
Working instance 1:{ module: "MMM-CalendarExt3Agenda", position: "top_right", classes: "SceneFamily", header: "Upcoming Family Calendar", config: { instanceId: "FamilyAgenda", locale: 'en-US', firstDayOfWeek: 1, startDayIndex: 0, endDayIndex: 3, showMiniMonthCalendar: false, useSymbol: true, calendarSet: ['Dad', 'Mom', 'Kid1', 'Kid2', 'Work1', 'Work22, 'Home'], } }
Missing Data Instance 2
{ module: "MMM-CalendarExt3Agenda", position: "top_left", classes: "SceneFamily SceneKids", header: "Chores", config: { instanceId: "Chores", locale: 'en-US', firstDayOfWeek: 1, startDayIndex: 0, endDayIndex: 3, showMiniMonthCalendar: false, useSymbol: true, calendarSet: ['Dad Chores', 'Kid Chores', 'Mom Chores'], } },
-
I apologize for what I’m sure is a bonehead question… I had a stock calendar module to show events from one calendar (and a second, hidden instance of calendar) but when I tried to implement pages (MMM-Pages), it was loading the hidden calendar along with the non-hidden one.
So I thought I’d try CalExt3Ag to replace the visible calendar. The problem is, I want it to look like the stock calendar:
but the best I could get is this:
Is it possible to get a much simplified listing (one line per event, relative dates) of events using CalExt3Ag?
-
@UncleRoger Not exactly. However you can get it simplied some:
That’s all CSS.
-
-
About the look of the module to mimic the original calendar module;
Sorry, it can’t. This module is an alternative view of your events listing, not a replacement. If you need only the same look as the original calendar, just use the original. -
About the working with MMM-Pages.
MMM-Pages
is a good, reliable module, though it doesn’t consider the multi-instance of the module. So when you need multi-instances and want to show/hide on different pages, it cannot work as expected. Try other paging/screen control module. (e.g. I recommendMMM-Scenes2
with shame.)
Click to see the DEMO
My mistake. You can assign class name in MMM-Pages settings. (Thanks @sdetweil )
-
-
@MMRIZE i.like you Scenes module.
but MMM-Pages works fine for multi instance. just don’t use the module name in the page definition
use page1, page2, page3…
and then use that in the individual module classes: settingsuper easy and much more clear
-
@sdetweil
Ah, I misunderstood those identifiers aremodule name
notclass name
. -
@MMRIZE well they are used as class names in the code lookup. each module’s name is
assigned as a class in the Dom for each module.
that’s why using module name is not instance aware.but classes can be any string, and pages just search for all with that class.
-
@sdetweil
You are right.
However the example seems somehow ambiguous (though config description) It might mislead someone.(like @UncleRoger or me) :D -
@MMRIZE yes, I would have preferred my description , but I can’t update the doc.
depends on where u want the config info (all in the pages config, which doesn’t support multi-instance cause it talks module name)
or all at the modules. page1, page2. etc
understandable, but spread out.
edit : I updated the MMM-Pages readme (also the front page of the module on Github )to describe this
https://github.com/sdetweil/MMM-pages -
@sdetweil @MMRIZE
You guys are amazing! Thank you!Scenes2 looks really interesting but I think it’s probably overkill for what I’m trying to do (MagicMirror swapping with Mr. Rogers’ Picture Picture). I could see that there are a lot of possibilities with it. I might play around with it for a future build.
The reason I have two calendar modules is that one is displayed for the dinner menu and one is there just to define the calendars for MMM-MonthlyCalendar. I’m planning on playing with CalendarExt3 to see if I like it better than MonthlyCalendar but the latter was quick and easy to get going.
Anyway, thanks again!