MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Pages module all showing on one page

    Scheduled Pinned Locked Moved Solved Troubleshooting
    26 Posts 3 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @hahawoooooo
      last edited by

      @hahawoooooo you do NOT Have to do a wipe and install again…

      generally that error message means it was trying to do a string operation (toLowerCase), but the thing was not a string (usually null )

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      H 1 Reply Last reply Reply Quote 0
      • H Offline
        hahawoooooo @sdetweil
        last edited by

        @sdetweil said in MMM-Pages module all showing on one page:

        generally that error message means it was trying to do a string operation (toLowerCase), but the thing was not a string (usually null )

        That makes sense. Updating the OS fixed a few other issues, but the MMM-pages issue is still happening with the same “toLowerCase” error. I’m removing modules I’m not using and spellchecking everything to see if there’s a spelling or formatting error I’m missing in the config file in case that’s the reason for className calls to bork up somewhere.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @hahawoooooo
          last edited by

          @hahawoooooo I also recommend using the classes approach to config

               modules:[
                        [ "page1"],
                        [ "page2"],
                       ],
                       "fixed": ["fixed"]
                . Etc
          

          Then for the modules you want on page1
          Add

                classes:"page1",
          

          In the config below module: line

          This was so much easier for me

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hahawoooooo @sdetweil
            last edited by

            @sdetweil

            I feel incredibly foolish - I attempted to use classes before and I couldn’t get it to work. It ends up that I had it coded as:

            class:'page1',
            

            instead of:

            classes:'page1'
            

            I swear I stared at this config file forever without seeing it!!! Thanks so much for the being patient, and I got everything working now.

            S 1 Reply Last reply Reply Quote 1
            • H hahawoooooo has marked this topic as solved
            • S Offline
              sdetweil @hahawoooooo
              last edited by

              @hahawoooooo it’s amazing what our minds see, even when it’s wrong!

              Glad you found it!!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 3 / 3
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy