Read the statement by Michael Teeuw here.
MMM College top 25
-
@JGSteelerFan01 could you give more info?
-
@sdetweil I guess I’m having trouble adding any Modules. The exact syntax is my challenge. I get the { and }, but not the [ or ]. I’ve made minor changes to the base defaults, but adding additional MM’s are a struggle. The code for MMM college top 25 looks intimidating. any help understanding the module coding would be helpful. I keep look at all the coding for patterns and/or similarities. thank you.
-
@JGSteelerFan01 yes sometimes it’s a lot
the list of module configuration definitions is
modules: [ ]
[] means list/array
{} means collection
{ module:... position:... config: { ... ... } }
what goes inside the config:{} collection for each module is unique to that module
lists []
can be numbers, strings, collections or other lists
etc etc.blank lines are ok, extra commas are ok, lack of a comma is fatal!.. lol.
get one of the ssh clients (winscp or bitvise) that provide file system access and u can edit on your windows machine with and editor like vscode or notepad++, which do brace{} and bracket[] matchingalways use indentation.
see the two topics in my signature below, they will help.
I didn’t write them… -
@sdetweil And to add on to this because it can’t be said enough. You don’t make changes to any file within the module folder itself, you have a config.sys file in the root folder of your MagicMirror install and that config.sys is what is modified. The module’s readme would give you what different variables can be set for it to work how you want it to.
-
@Wenike config/config.js
not config.sys
and not in the root of the MagicMirror folder