• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Carousel error when position is undefined

Scheduled Pinned Locked Moved Solved Troubleshooting
mmm-carousel
9 Posts 3 Posters 1.2k 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 @Chunnel414
    last edited by Jan 9, 2025, 10:19 PM

    @Chunnel414 carousel doesn’t need a position as it has no content to display of its own.

    it just hides/shows other module content

    I never tries the positional config.

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S C 2 Replies Last reply Jan 9, 2025, 10:22 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by sdetweil Jan 9, 2025, 10:43 PM Jan 9, 2025, 10:22 PM

      @Chunnel414 you can do the same thing with MMM-pages…

      make everything classes:“fixed” (using the simplified naming config)
      except those modules

      they will be classes:“page1”, “page2”… etc

      and pages will have 5 pages defines

            {
              module: "MMM-pages",
              disabled: false,
              config: {
                modules: [
                  [
                    "page1"
                  ],
                  [
                    "page2"
                  ],
                  [
                    "page3"
                  ],
                  [
                    "page4"
                  ],
                  [
                    "page5"
                  ]
                ],
                fixed: [
                  "fixed"
                ],
                animationTime: 10000,
                hiddenPages: {
                }
              },
              order: "*"
            },
      

      the 5 modules are all configured top_right
      only one will show at a time

      {
         module:"clock",
         position:"top_right",
         classes:"page1",
         config:{
         ...
         ...
         }
      }
      etc
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        Chunnel414 @sdetweil
        last edited by Jan 10, 2025, 12:32 AM

        @sdetweil thanks. I’ll take a look at pages.

        I understand that carousel does not require the position. Although, as I described, if I did not put the position in there, the function of the carousel would not happen. And when I put the position back in the carousel function would work. I agree that it should not be required which is why I am providing this information as something appears to not be working appropriately.

        S P 3 Replies Last reply Jan 10, 2025, 1:29 AM Reply Quote 0
        • S Offline
          sdetweil @Chunnel414
          last edited by Jan 10, 2025, 1:29 AM

          @Chunnel414 i looked thru the code, and don’t see any impact of not having a position

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Chunnel414
            last edited by Jan 15, 2025, 1:30 AM

            @Chunnel414 did you get a solution working?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Jan 16, 2025, 1:32 AM Reply Quote 0
            • P Offline
              plainbroke @Chunnel414
              last edited by Jan 15, 2025, 1:45 AM

              @Chunnel414
              My MMM-Carousel does not have a position and it works fine…

              Slow learner. But trying anyways.

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chunnel414 @sdetweil
                last edited by Jan 16, 2025, 1:32 AM

                @sdetweil
                I ended up getting carousel to work by putting the position in the top bar and making some css mods.

                S 1 Reply Last reply Jan 16, 2025, 1:38 AM Reply Quote 1
                • S Offline
                  sdetweil @Chunnel414
                  last edited by Jan 16, 2025, 1:38 AM

                  @Chunnel414 long as you got it!!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S sdetweil has marked this topic as solved on Jan 23, 2025, 10:00 PM
                  • 1 / 1
                  1 / 1
                  • First post
                    6/9
                    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