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 & MMM-pages-indicator - Lightweight module pages on your mirror!

    Scheduled Pinned Locked Moved System
    19 Posts 9 Posters 15.8k Views 9 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.
    • E Offline
      edward-shen Module Developer
      last edited by

      Hey! that looks pretty slick! I especially like your indicator design. I actually considered forking MMM-carousel too, but after taking a look at the code, it seemed like it would be easier to just make my own. Yours definitely seems more fleshed out, especially with the advanced module slides settings.

      I think our projects have different audiences: mine lets people quickly get going, while yours definitely provides more features for those who really want to customize their mirror. If I had known about yours, I definitely would have just used yours instead! :D

      AgilesChromsA 1 Reply Last reply Reply Quote 0
      • AgilesChromsA Offline
        AgilesChroms
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • AgilesChromsA Offline
          AgilesChroms @edward-shen
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J Offline
            jchenaud
            last edited by

            @edward-shen said in MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!:

            mande d’extraction pour ajouter des fonctionnalités?

            hey sorry for this wake up :)
            i need to acces for id to curent page. i think its possible but i dont find :(.
            because i need change page if one action have been made juste if im not already on this page

            i am realy beginner whith js.

            sorry for this bad English

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              edward-shen Module Developer @jchenaud
              last edited by

              @jchenaud

              Bonjour, je parle un peu français, mais on peut voir que ce n’est pas bon.

              Le code suivant réagit à une demande de modification du numéro de page.

              notificationReceived: function(notification, payload) {
                if (notification === 'PAGE_CHANGED') {
                    if (typeof payload === 'number') {
                      // le payload est le numéro de page.
                    }
                }
              }
              

              Je recommande de stocker ce nombre et de le comparer lorsque vous avez besoin de faire votre action.

              S’il vous plaît laissez-moi savoir si c’est suffisant. La base de code est actuellement gelée parse que je n’ai pas de miroir pour la tester.

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                jchenaud @edward-shen
                last edited by jchenaud

                @edward-shen
                merci !! je n’est pas utilisée votre code car je ne vois pas trop comment il diffère de :

                	 if (this.curPage != payload )
                  	 {
                     
                    switch (notification) {
                

                avec ce if sa semble éviter les rechargement de la page. mais cette solution me conviens pas vraiment en effet : elle ne permet pas de stopper les notification. il faudrait que je puise accéder a curPage depuis un autre module pour éviter d’émettre d’est notification inutile.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jchenaud
                  last edited by

                  up please

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    edward-shen Module Developer @jchenaud
                    last edited by

                    @jchenaud
                    Je suis désolé pour le délai, mais j’ai ajouté une nouvelle réponse de notification pour vous. Envoyez simplement un QUERY_PAGE_NUMBER et MMM-pages va envoyer un PAGE_NUMBER_IS notification. Ajoutez cela à switch cas dans la notificationRecieved fonction, et vous devriez être tous ensemble!

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jchenaud @edward-shen
                      last edited by

                      @edward-shen thk :) i will try on the next week .

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        edward-shen Module Developer
                        last edited by

                        NOTICE

                        For all future issues, please create an issue on Github! I do not monitor the Magic Mirror forums!

                        1 Reply Last reply Reply Quote 0
                        • cowboysdudeC Offline
                          cowboysdude Module Developer
                          last edited by

                          Added support to MMM-voice for MMM-pages.

                          If you’re using MMM-voice you can say “next page” or “last page” and it will change the pages.
                          BUT you will have to update your MMM-voice with my fork as the PR has not been approved yet. Just simply download it from me and copy it over your files in MMM-voice dir.

                          https://github.com/cowboysdude/MMM-voice

                          M J 2 Replies Last reply Reply Quote 3
                          • M Offline
                            mdhenriksen @cowboysdude
                            last edited by

                            @cowboysdude said in MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!:

                            Added support to MMM-voice for MMM-pages.

                            If you’re using MMM-voice you can say “next page” or “last page” and it will change the pages.
                            BUT you will have to update your MMM-voice with my fork as the PR has not been approved yet. Just simply download it from me and copy it over your files in MMM-voice dir.

                            https://github.com/cowboysdude/MMM-voice

                            Awesome! Works like a charm!

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jasim @cowboysdude
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                Egnos
                                last edited by

                                Hi,
                                I am desperately trying to move the MMM-pages-indicator module dots under the news but to no avail.

                                Cattura
                                Whatever you put in the custom.css file, the dots don’t move.
                                Can you help me?

                                Thanks.

                                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                E 1 Reply Last reply Reply Quote 0
                                • E Offline
                                  edward-shen Module Developer @Egnos
                                  last edited by

                                  @Egnos Please read the FAQ at the bottom of the GitHub page: https://github.com/edward-shen/MMM-page-indicator

                                  E 1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Egnos @edward-shen
                                    last edited by

                                    @edward-shen many thanks!

                                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      crown
                                      last edited by

                                      How can I get the IR touch frame to click into the page indicator and change the page?

                                      1 Reply Last reply Reply Quote 0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • 1 / 1
                                      • 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