Veldrovive / MMM-Page-Selector

An easy way to set up and move between pages on a MagicMirror²
MIT License
35 stars 6 forks source link

defining order of pages? #23

Closed GoodWillGustin closed 4 years ago

GoodWillGustin commented 4 years ago

Is there really no way to order the pages? For my setup of this module, I would name my pages something like "Main, 2, 3", yet no matter what order I put them in in the config for a test module, Page-Selector starts on page "3" (despite pageDefault being set to "Main"), and counts backwards. So I defined 3 pages, and it looks like:

first circle icon: "3" second circle icon: "2" third circle icon: "main"

Since there is no specific location to edit the order, how can I correct this? I LOVE this module, but this is disheartening. :/ Please assist!

GoodWillGustin commented 4 years ago

From what I've noticed, the pages seem to inherently sort alphabetically, rather than by any pre-defined positioning. Is there a way to override this?

GoodWillGustin commented 4 years ago

I was able to work around this by adding numbers to the beginning of my page names, though for those who would try to do this, it looks like you need to put the page name in quotes if you want to start a pagename with a number or special character (ie. "1 Dashboard", "|Dashboard|", etc.). Not sure if this is going to complicate voice commands since I haven't implemented that yet in my MM project.