MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. justjim1220
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 7
    • Followers 5
    • Topics 35
    • Posts 649
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: New modules - how to find them

      @hoddog

      I don’t think so, BUT, I really like the idea!!!

      posted in General Discussion
      justjim1220J
      justjim1220
    • RE: update

      @francis-gasco

      try rebooting your system

      posted in Bug Hunt
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sdetweil

      Thank You for ALL your help on this, I think I have learned a lot doing this module!

      THANK YOU! THANK YOU ! THANK YOU! !!! :smiling_face: :smiling_face: :smiling_face:

      I’m looking at doing a bit of tweaking with each solution and when I get them done, I will commit to the repository and add to 3rd party list! :smiling_face_with_sunglasses:

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sean

      This is ABSOLUTELY WONDERFUL!!!

      THANK YOU, THANK YOU, THANK YOU!!! :smiling_face: :smiling_face: :smiling_face:

      (still gonna try to get the first one going you sent link for in previous post!) :winking_face:

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sean

      Not sure why, but this didn’t work for me, I will try it again in a little while, probably something I’m doing wrong!

      Thank You!!!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sdetweil

      LOL, I woke up early this morning thinking I could get something like this to work…

      0_1539979737672_Screenshot (399).png

      But, of course, I probably had something wrong somewhere, because it didn’t!!!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @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

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MM to run only between certain times

      @ajsg

      https://github.com/ianperrin/MMM-ModuleScheduler

      https://github.com/fewieden/MMM-AlarmClock

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @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:

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @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

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

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

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sdetweil

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

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sdetweil

      What is the possibility of using and array of sorts?

      place the logos in a pics folder, call them according to the newsItem[activeItem].title, Ive seen some examples, and tried it a few different ways, but not sure if I am missing something as I can’t get it to work.

      recent example tried:
      feeds…

                  {
                      title: "New York Times: ",
                      url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                  },
                  {
                      title: "Wall St. Journal: ",
                      url: "http://www.wsj.com/xml/rss/3_7085.xml"
                  },
                  {
                      title: "USA Today: ",
                      url: "http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories"
                  },
                  {
                      title: "BBC World News: ",
                      url: "http://feeds.bbci.co.uk/news/world/rss.xml#"
                  }
      

      Array…

      iconArray: {
                  "USAToday": "USA Today: ",
                  "NewYorkTimes": "New York Times: ",
                  "WallStJournal": "Wall St. Journal: ",
                  "BBCWorldNews": "BBC World News: "
              }
      

      Added this to start function…

       this.logo = {};
      

      sample code…

      var logo = this.logo;
      
                  if (this.config.showDescription) {
                      var description = document.createElement("div");
                      //description.setAttribute("style", "padding-top: 25px");
                      description.className = "bright xlarge bold" + (!this.config.wrapDescription ? " no-wrap" : "");
                      var txtDesc = this.newsItems[this.activeItem].description;
                      description.innerHTML = "<img class = image src=./modules/default/newsfeed/pics/" + logo.icon + ".png height=150px valign=middle>" + "<marquee scrollamount=20 scrolldelay=0 left=500px>" + "<font color=yellow>" + moment(new Date(this.newsItems[this.activeItem].pubdate)).fromNow() + "&nbsp; : &nbsp;" + "</font>" + this.newsItems[this.activeItem].title + "&nbsp; || &nbsp;" + txtDesc + "</marquee>";
                      wrapper.appendChild(description);
      			}
      

      Any chance this could work easier if I had it coded correctly?

      Seems Like I should be declaring the

      newsItem[activeItem].title
      

      to equal the icon/logo in some fashion…

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-News

      @sean Nice Work Sean!!

      posted in Utilities
      justjim1220J
      justjim1220
    • RE: MMM-Astrology font color

      @cowboysdude

      what is the content class in the css file?

      Just curious, because that is how I figured out how to change the color of the description content…

      0_1539829368008_Screenshot (394).png
      gives me this…
      0_1539829384218_Screenshot (395).png

      and this…
      0_1539829461402_Screenshot (396).png
      gives me this…
      0_1539829434230_Screenshot (397).png

      When I go to figure out how things work, I make changes to the css file, then move it to my custom.css file, leaving the original intact. I was told to do it this way way back when I first started doing this. I guess I wasn’t told that changing the original was taboo, although, I have always felt I needed to keep the original intact to go back to just ‘in case’.

      I was told this was the best way to learn, to play with things. Which I do. And if someone asks a question that I have had some experience with, I tend to return the help given to me by you and all the others who have been so awesome and patient with me.

      I won’t give that advise anymore, I really am sorry, :pensive_face:

      posted in Custom CSS
      justjim1220J
      justjim1220
    • RE: MMM-Astrology font color

      @cowboysdude

      Sorry, I thought that was the reason for the css files, to make the changes to suit your needs.
      I usually add to the custom.css file after I figure out what does what.

      My apologies! :worried_face:

      posted in Custom CSS
      justjim1220J
      justjim1220
    • RE: MMM-Astrology font color

      @cowboysdude

      the content is the same as the description, it changed color for me by just changing that part of the css

      posted in Custom CSS
      justjim1220J
      justjim1220
    • RE: I know it's here but I cannot seem to find it.....

      @cowboysdude

      to get more than one instance of the same mirror on different screens, I had to create copies of the mirror and run separate electrons in different windows and assign them to each separate monitor. I just had to create different configs for each one. Yeah, I have to make duplicate changes, But, like you, I would think there is a different way!

      If using the same mirror config, you just need to run separate instances of electron and assign them to the appropriate screen.

      posted in General Discussion
      justjim1220J
      justjim1220
    • RE: MMM-Astrology font color

      @letmetakeaselfie

      Strange, It works for me.

      And, you made the cahnge in the MMM-Astrology.css file?

      Or, ADD the full code snippet to your custom.css file

      Either way should work!

      posted in Custom CSS
      justjim1220J
      justjim1220
    • RE: how to pull new element added to an array?

      @sdetweil, @cowboysdude, @Sean

      I created a repository, hopefully it will make it easier for you to help.

      https://github.com/justjim1220/MMM-NewsFeedTicker

      ALL help is MUCH APPRECIATED!!!

      I gotta learn this stuff one way or another!

      :smiling_face_with_sunglasses:

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • 1
    • 2
    • 14
    • 15
    • 16
    • 17
    • 18
    • 32
    • 33
    • 16 / 33