@flemmingss
Your RAR is not downloadable by security issue. Anyway, is there CX3_Shared/CX3_Shared.mjs
in position? Your error log says it is not accessible on your system.
Read the statement by Michael Teeuw here.
Posts made by MMRIZE
-
RE: MMM-CalendarExt3
-
RE: MMM-CalendarExt3
@flemmingss
You may still need to complete the installation of the module. You may have missed these instructions on installation;npm install git submodule update --init --recursive
Or, you are using Docker, and for some reason,
css/custom.css
andmodules/MMM-CalendarExt3/CX3_Shared/CX3_Shared.mjs
seems not being loaded. I’m not familiar with Docker so not sure. -
RE: MMM-CalendarExt3
I copied your config and test works.
To check whether there is issue;
- Open the front-end dev-console in the browser (Ctrl+Shift+i) and see the console tab, find any suspicious issue.
- Or install
MMM-LogExt
to record the front-end logs into the backend log.
-
RE: Need help with modules not displaying
@Illimar said in Need help with modules not displaying:
getDaysLeft()
anddateFormat()
are defined as member methods of the module, but you are using them as general functions.var days = getDaysLeft(i);
It should be;
var days = this.getDaysLeft(i);
Or, even better is; to define
getDaysLeft
as a general function inside ofgetDom()
, because only there the function is used once and nowhere else. It doesn’t need to be defined as a member of the module.getDom: function() { const getDaysLeft = (i, config) => { const date = Date.now(); ... } let wrapper = document.createElement('div'); wrapper.style.color = this.config.textColor; for (let i in this.config.dates) { let days = getDaysLeft(i, this.config); ...
-
RE: My custom mirror
@greedyvegan
newsfeed item could have a container with selectorwithImage
or not.<div class="container {% if config.showImage and image %} withImage {% endif %}"> {% if config.showImage and image %} <div class="newsfeed-image" style="background-image: url({{image}})"></div> {% endif %}
So you can specify your style for each case, withImage or not.
.MMM-anotherNewsFeed .module-content .container { text-align: right; ... }
.MMM-anotherNewsFeed .module-content .container.withImage { text-align: left; ... }
Image and contents are arranged by container’s
display:flex
so you can reorder or justify with flex-related attributes. -
RE: MMM-CalendarExt3 not syncing automatically with icloud
@lightfixer2000
I’m not using vdirsyncer to get iCloud or Google private/family calendars as iCal. So I have no idea.
Instead I use MMM-CalDAV. Sorry. -
RE: My custom mirror
@greedyvegan
It will look better to arrange newsfeed module more harmonized.
/* css/custom.css */ /* This is just and example. Adjust to your color and dimensions */ .MMM-anotherNewsFeed .newsfeed-image { min-width: 150px; min-height: 150px; max-width: 150px; max-height: 150px; margin: 10px 20px 10px 10px; border-radius: 15px; background-repeat: no-repeat; background-position: center center; background-size: cover; } .region .module.MMM-anotherNewsFeed { width: 600px; height: 300px; border-radius: 15px; margin-top: 0; background-color: #333; }
-
RE: CalendarExt3 colour custom Css for specific name.
/* in your module config of CX3 */ eventTransformer: (ev) => { if (ev.title.search('Tom') > -1) ev.class = 'tom' if (ev.title.search('John') > -1) ev.class = 'john' return ev },
/* css/custom.css */ .CX3 .event.tom { color: blue; } .CX3 .event.john { color: green; }
-
RE: MMM-CalendarExt3 Search description of event to trigger event color change.
@Hobbit
console.log()
was used just to check event object has which properties. You can remove that line.
Sometimes,.description
has no value at all, asfalse
ornull
. In that case.description.search()
couldn’t be perform, so whether check.description
is not false or null at first hand. that’s all.Some enhanced features of my module require JS or CSS skills. So sorry.
-
RE: MMM-CalendarExt3 not syncing automatically with icloud
@greedyvegan That is not an error, just warning you can ignore it.