• 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.

how to pull new element added to an array?

Scheduled Pinned Locked Moved Solved Troubleshooting
57 Posts 4 Posters 19.7k Views 4 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.
  • J Offline
    justjim1220 Module Developer @sdetweil
    last edited by Oct 18, 2018, 11:54 PM

    @sdetweil

    ok, just a thought, seen it with a few other modules. Thanks!

    "Life's Too Short To Dance With Ugly People"
    Jim Hallock - 1995

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil
      last edited by sdetweil Oct 18, 2018, 11:59 PM Oct 18, 2018, 11:57 PM

      @justjim1220 any idea why the newsticker doesn’t work at all?

      u don’t have a package.json, so the install instructions for npm install is not needed…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 2 Replies Last reply Oct 19, 2018, 12:00 AM Reply Quote 0
      • J Offline
        justjim1220 Module Developer @sdetweil
        last edited by Oct 19, 2018, 12:00 AM

        @sdetweil

        No, no idea, one of the reasons I uploaded it as a repository, to let you and whoever else wants to gander at it and see what the issues are or could be.

        Not sure when you downloaded it, but I made some minor changes to it a few hours ago. just some syntax errors and such.

        Nonetheless, still can’t get it to work.

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        S 1 Reply Last reply Oct 19, 2018, 12:11 AM Reply Quote 0
        • S Offline
          sdetweil @justjim1220
          last edited by Oct 19, 2018, 12:11 AM

          @justjim1220 yeh, I just want to get default behavior working… I have added my code, it should work, just want to test…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            justjim1220 Module Developer @sdetweil
            last edited by justjim1220 Oct 19, 2018, 1:23 AM Oct 19, 2018, 12:34 AM

            @sdetweil

            kind of an example of what I am looking to accomplish…
            0_1539907805560_Screenshot (151).png
            0_1539907813148_Screenshot (152).png
            0_1539907823584_Screenshot (153).png
            0_1539907833085_Screenshot (154).png

            Only, instead of the title on the left side, I am wanting to show the logo associated with the newsfeed.

            Like this:
            0_1539912191383_Screenshot (155).png

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            S 1 Reply Last reply Oct 19, 2018, 12:35 AM Reply Quote 0
            • S Offline
              sdetweil @justjim1220
              last edited by Oct 19, 2018, 12:35 AM

              @justjim1220 understood…

              i just can’t get the module to do ANYTHING…

              it loads, and registers, and that is it… no functions are called…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Oct 19, 2018, 12:37 AM Reply Quote 0
              • J Offline
                justjim1220 Module Developer @sdetweil
                last edited by Oct 19, 2018, 12:37 AM

                @sdetweil

                I’m not understanding it myself, I’ll keep plugging away at it.

                Feel free to collaborate on it any time you feel like it.

                Thanks for all your help thus far! :winking_face:

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                S 1 Reply Last reply Oct 19, 2018, 12:46 AM Reply Quote 0
                • S Offline
                  sdetweil @justjim1220
                  last edited by Oct 19, 2018, 12:46 AM

                  @justjim1220 I added all the defined functions and none are called…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Oct 19, 2018, 12:48 AM Reply Quote 0
                  • J Offline
                    justjim1220 Module Developer @sdetweil
                    last edited by Oct 19, 2018, 12:48 AM

                    @sdetweil
                    What I meant was that I added you as a collaborator

                    Maybe this way you can show what you did and I could look at it as well

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

                    ? 1 Reply Last reply Oct 19, 2018, 6:36 AM Reply Quote 0
                    • ? Offline
                      A Former User @justjim1220
                      last edited by Oct 19, 2018, 6:36 AM

                      @justjim1220 @sdetweil
                      First, in line 18 of MMM-NewsFeedTicker.js

                      Module.register("MMM-NewsFeedTicker", {
                      
                      S 1 Reply Last reply Oct 19, 2018, 1:38 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 4 / 6
                      4 / 6
                      • First post
                        36/57
                        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