MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. justjim1220
    3. Topics
    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

    Topics

    • justjim1220J

      MMM-DigClock

      Watching Ignoring Scheduled Pinned Locked Moved Fun & Games
      4
      1
      0 Votes
      4 Posts
      3k Views
      Alex2020A
      Salve come faccio a sostituire l’orologio di default del magic mirror con il tuo modulo come va fatta la configurazione nel file config.js?Grazie.
    • justjim1220J

      MMM-HolidayLights

      Watching Ignoring Scheduled Pinned Locked Moved Entertainment
      4
      8
      1 Votes
      4 Posts
      2k Views
      justjim1220J
      @rolandb In your config file, make sure you don’t have .css after the one you chose. IE: use Christmas and not Christmas.css
    • justjim1220J

      Help with converting this HTML file to MM2 module format...

      Watching Ignoring Scheduled Pinned Locked Moved Development
      4
      0 Votes
      4 Posts
      1k Views
      D
      I’d put them in a different structure, perhaps, depending on what you want to achieve. If it’s just this list that you want: Remove all line breaks and tabs, lead all quotation marks with a backslash (\") and put that complete one line of code in: targetElement.innerHTML = "your Code here"; More flexible: var newsSources = [ { “id”:“washington_post”, “name”:“Washington Post”, “alt”:“Washington Post”, “link”:“https://www.washingtonpost.com/?reload=true” }, { “id”:“usa_today”, “name”:“USA Today”, “alt”:“USA Today”, “link”:“http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories” }, { “id”:“irish_news”, “name”:“Irish News”, “alt”:“Irish News”, “link”:“http://www.irishnews.com/news/worldnews/” }, { “id”:“wall_street_journal”, “name”:“Wall St. Journal”, “alt”:“Wall St. Journal”, “link”:“https://www.wsj.com/news/us” }, { “id”:“kansas_city_star”, “name”:“The Kansas City Star”, “alt”:“Kansas City, MO News”, “link”:“https://www.kansascity.com/news/” }, { “id”:“bbc_news”, “name”:“BBC World News”, “alt”:“BBC World News”, “link”:“https://www.bbc.com/news/world” } ]; newMainElement = document.createElement(“div”); newMainHeadline = document.createElement(“h2”); newMainHeadline.innerHTML = “< img src="pix/break_news.png" alt="Breaking News" />”; newMainElement.apply(newMainHeadline); frstWrapper = document.createElement(“div”); scndWrapper = document.createElement(“div”); // really neccessary? thrdWrapper = document.createElement(“div”); // really neccessary? newsList = document.createElement(“ul”); for (i=0; i< =newsSources.length; i++) { newsItem = document.createElement(“li”); newsLogo = document.createElement(“div”); newsLogo.innerHTML = “< img src="pix"+newsSources[i].id+”.png" alt="“+newsSources[i].alt+”" />" newsLink = document.createElement(“h3”); newsLink.innerHTML = “< a href="”+newsSources[i].link+“" target="myIframe">”+newsSources[i].name+“”; newsItem.apply(newsLogo); newsItem.apply(newsLink); newsList.apply(newsItem); } thrdWrapper.apply(newsList); // really neccessary? see above scndWrapper.apply(thrdWrapper); // really neccessary? see above frstWrapper.apply(scndWrapper); newMainElement.apply(frstWrapper); I didn’t use the code block because it can’t handle \". In < img and < a you have to remove the space. id = image name, you’ll have to adapt a little, I wrote them in a more uniform style. alt = could be the same as the name, but I put it in as you varied a little with your alt titles. Oh, by the way: Seems like this could also be a good case for a template system. https://forum.magicmirror.builders/topic/2443/html-templating-system https://forum.magicmirror.builders/topic/5053/better-way-to-use-html-in-module-development
    • justjim1220J

      Freaking Spam Has Got To Stop!!!

      Watching Ignoring Scheduled Pinned Locked Moved Forum
      3
      2 Votes
      3 Posts
      1k Views
      Mykle1M
      @justjim1220 I vote for no more than 3 emoji’s per post. ;-)
    • justjim1220J

      SPAM???

      Watching Ignoring Scheduled Pinned Locked Moved Forum
      7
      0 Votes
      7 Posts
      2k Views
      MichMichM
      Working on it. Removed (most of) the spam and temporarily switched to invite only.
    • justjim1220J

      Weather Radar module...

      Watching Ignoring Scheduled Pinned Locked Moved Requests
      2
      0 Votes
      2 Posts
      5k Views
      B
      Use a link from Weatherradar an put it in MMM-iFrameReloaded. I used this for GoogleTraficMaps.
    • justjim1220J

      "HIDE" and/or "SHOW" modules automatically...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      4k Views
      justjim1220J
      @axled Thanks for the reply… I’m using the Module Scheduler at the moment. Works Great!!! :smiling_face_with_sunglasses: :smiling_face_with_sunglasses: :smiling_face_with_sunglasses:
    • justjim1220J

      how to remove a forked repo...

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      7
      0 Votes
      7 Posts
      3k Views
      justjim1220J
      @mykle1 BWAHAHAHAHAHAHA!!! You’re so funny… NOT!!! THUG LIFE!!! [image: 1530047286900-rockymugsy.jpg] [image: 1530047296166-016d1c3aba3d791a120e48cf1054c546-rabbit-duck-tweety.jpg]
    • justjim1220J

      need help trying to understand this error... and how to fix it.

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      3
      0 Votes
      3 Posts
      1k Views
      S
      @justjim1220 this is called a cross site scripting error… scammers started sending messages to random websites, collecting/stealing data (they look at the javascript and see there is a message or method that could return customer info)… so the browsers have implemented a restriction… if your request is not from the same site family, it is rejected… www.example.com -> youtube.com, fails. www.example.com -> www.example.com/some/path, is allowed I don’t know how to get around it… google search
    • justjim1220J

      Needing testers and feedback... and possibly an answer or 2!

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      8
      0 Votes
      8 Posts
      2k Views
      justjim1220J
      @mykle1 Yeah, it is still working, but there are times when I refresh or reload after making a change to the mirror, that it doesn’t work. it’s really weird!!!
    • justjim1220J

      ReferenceError: Module is not defined...

      Watching Ignoring Scheduled Pinned Locked Moved Development
      7
      1
      0 Votes
      7 Posts
      4k Views
      justjim1220J
      @strawberry-3-141 Thanks for answering… My calendar link is there, but my password is not. It does say private, but it actually is public, so anyone can see it, nothing too personal ever gets put on there anyway. :smirking_face: I can get a YT player to work on the MM, I’m just trying to figure out how to shuffle the list so it doesn’t start from the first song every time i gets loaded. And, if it’s just the video it has problems with, it gives a different error and will go to the next video. So, I know its not that either.
    • justjim1220J

      Use MM as a screensaver (split topic)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      1k Views
      yawnsY
      just tried the web-page-screensaver and I have to admit it fails displaying the MagicMirror site. I’m looking for another solution
    • justjim1220J

      Still needing testers?

      Watching Ignoring Scheduled Pinned Locked Moved Development
      2
      0 Votes
      2 Posts
      1k Views
      Mykle1M
      @justjim1220 I started the same way when I moved to laptop boards but when I became more comfortable with Linux I didn’t see the need for Windows, at least where MM is concerned. I even wrote a tutorial a few months back about installing MM on Windows 7 and 10. https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10
    • 1 / 1