Read the statement by Michael Teeuw here.
MMM-CalendarExt2 vertical orientation positioning
-
@Michelle-H2020 So what is above line 186 where the semicolon is?
-
@Michelle-H2020
CX2 doesn’t respect usual MM’s positioning. It manage number of “views” in multi-positions, so you need to assign position to each “view”, not module itself.
Read manuals.-
https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/main/docs/Configuration.md
-
https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/main/docs/Configuration/View.md
And other documents also.
-
-
@MMRIZE I think she’s trying EXT 3 now
-
[01.11.2023 19:44.21.401] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/mirror/MagicMirror/config/config.js:189
if (typeof module !== “undefined”) {module.exports = config;}
^^^^^^SyntaxError: Unexpected token ‘typeof’
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1185:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at loadConfig (/home/mirror/MagicMirror/js/app.js:117:14)
at App.start (/home/mirror/MagicMirror/js/app.js:247:18)
at Object. (/home/mirror/MagicMirror/js/electron.js:190:7)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12This is starting at line 180 so there is nothing really there at all??
} }, ]
},
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
@Michelle-H2020 well, it appears you deleted a closing }
when u pasted in the new module entrylook at the bottom of the config.js.sample file in the same folder
-
Not sure what I did :/ pretty sure I will have to start over and just copy and paste a default config. Do you think I can delete and just copy the whole screw of the sample ?
-
@Michelle-H2020 when i use my script, I copy the sample to config.js
mv config.js broken-config cp config.js.sample config.js
then move your good parts from broken to config.js
a module is
{ module: ...name ... config: { ..... } },
always make sure the open { matches the close }
-
I seem to have got it working I am just wondering how I adjust the events so I don’t just see a few letters of the event, and also the cell height adjustment code when I looked under the module it says
manipulateDateCell callback function See the manipulating dateCell part.
can you give me any info on this? thanks