Read the statement by Michael Teeuw here.
MMM-Pages is it possible to name the pages, i.e. weather, stocks, etc...
-
Hi, I am grouping modules by pages and wonder if it is possible to name each pages, like a header.
For example, all the weather modules are under the weather pages, stocks, under stick, etc… -
@JeanMichelC using the classes approach you can name the page groups anything you like
Page1
Weather
Mom
Dad
StocksWhatever
Then in each module config
Add theclasses:"Page1 Mom",List of pages this module should appear on
The classes keyword goes with the module: property, outside the modules config:{…}. Section
The string for classes is the space separated list of namesIf you want a module to appear on every page, then the name would be the nice name you use for the fixed: property in pages config. I call that “every_page”, cause it makes sense
-
@JeanMichelC it doesn’t matter where the modules are listed in config.js. The classes property will group them
MagicMirror can only show or hide modules. There is an api used by the pages module to find modules by class name.
The module name or the page group name are both classes used by that spi
-
From the pages doc

