Read the statement by Michael Teeuw here.
MMM-CalendarExt3
-
@hrmax23 said in MMM-CalendarExt3:
Is there a way to show a rolling 4/5 week in the month mode? Basically something like -1 week to +3 weeks rather than showing basically the current month until that month is over.
I will consider that option.
it’s currently showing the current day in the 5th week (i.e. still showing April as the current month). If I restart MM, it will update to show May as current month, but doesn’t seem to do it automatically.
This seems unexpected behaviour. I need your configuration to represent it.
Also, is there a trick to get the calendar to re-render completely on some interval?
I think notification
CX3_MOVE_CALENDAR
with payload{step:0}
would refresh current view , but it needs emission from other module.
Anyway, the view is refreshed by schedule of original calendar fetch. So I don’t think it needs self-refresh timer. And when we solve above unexpected behaviour, you don’t need self-refreshing. -
@MMRIZE sometime yesterday the calendar finally refreshed so that May is the current month so it appears to have resolved itself. I’m not sure what would have finally triggered it but I’ll check my calendar settings.
Thanks for considering the rolling 5 week idea!
-
Well, shoot, here I am waiting for a new Daily and current view. 😢
If I could get the built in calendar to do what I want it to do, I’d be using that.
-
@MMRIZE Thank you for your answer. :)
Another question, where does this take the Spanish translation from? For some reason the number is not separated from the text.
It says “9de Mayo” instead or “9 de Mayo”
-
This might be a help.
/* In your custom.css */ .CX3 .cellDate .dateParts.literal { margin-left: 5px; }
-
@MMRIZE said in MMM-CalendarExt3:
/* In your custom.css */
.CX3 .cellDate .dateParts.literal {
margin-left: 5px;
}Thank you so much, muchas gracias :)
-
1.1.0 (2022-05-29)
- ADDED : control interval of refreshing on fetching calendar
- config option
waitFetch
for waiting for too frequent fetching. - config option
refreshInterval
for refresh view by force. - config option
glanceTime
for focusing temporal moment then returning to current moment - config option
animationSpeed
for update animation
- config option
- ADDED : calendar symbol can be used. (config option
useSymbole
) - ADDED : weather forecast could be displayable. (From
MM 2.20 released
orMM 2.19 develop
branch) - CHANGED : Now,
month
view could has a fit weeks by the days not fixed 6 weeks.
- ADDED : control interval of refreshing on fetching calendar
-
Just a couple of quick questions. First, how do you remove icons from events? I see in the sample pics that it’s been done, but I can’t seem to make it happen. Second, in CalExt2, I could style event borders and would show/color those instead of having a completely filled in event color. I could also show only certain borders (for full day I only had the left and bottom, but single day events only had the left border). Is that possible with CalExt3?
-
- Not to use symbol:
useSymbol: false
// config of your module; ... config: { useSymbol: false, ...
- Is this what you wanted?
/* in your custom.css */ .CX3 .event.fullday, .CX3 .event.multiday { border-left: 4px solid var(--calendarColor); border-bottom: 1px solid var(--calendarColor); background-color: rgba(0, 0, 0, 0.2); } .CX3 .event.singleday { border-left:4px solid var(--calendarColor); } .CX3 .event.singleday:not(.useSymbol)::before { content: ''; }
- Not to use symbol:
-
@MMRIZE That’s perfect. Thanks. I just wasn’t sure if those attributes were available and I honestly just didn’t feel like experimenting at that moment. Last question (think): Is there a way to hide the default calendar module and still populate CX3. I found a way to hide the module (by editing the calendar module’s base config) on startup, but then CX3 doesn’t have any events. Here’s what I used (courtesy of @sdetweil from a thread a couple of years ago):
hidden: false, suspend: function(){ this.hidden=true }, restore: function(){ this.hidden=false }, notificationReceived: function(notification, payload, source){ // this comes before the first call to getDom() if(notification === "ALL_MODULES_STARTED") this.hidden=true; }. getDom: function (){ var wrapper=document.createElement('div') if(this.hidden==false){ //create normal content } return wrapper; },