<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews]]></title><description><![CDATA[<p dir="auto">I’m trying to create an apple news like feed by having multiple instances of MMM-EveryNews at the bottom of my screen.<br />
Here is what I did</p>
<ol>
<li>I duplicated the module folder in the \module folder to create \MMM_EveryNews1, \MMM_EveryNews2, …3</li>
<li>I renamed the .js file in each directory</li>
<li>I edited the .js file to register different module name<br />
I tried to call the module three times at three different locations (bottom_left, bottom_right…) with the same identical parameters, but unfortunately, after the first module (no matter what source I put in it) anything after the first module is magnified. (same parameters etc).<br />
I didn’t change or rename the .css<br />
If I call the same module 3 times (i.e. just call the original module) then the sizing is ok.<br />
How can I debug???<br />
Also, if you’ve built a good news/stock dashboard, please send me a screenshot<img src="https://i.redd.it/ua7xpkiacci61.png" alt="alt text" class=" img-fluid img-markdown" /><br />
Thanks!</li>
</ol>
]]></description><link>https://forum.magicmirror.builders/topic/14657/help-me-fix-my-dashboard-see-1st-comment-issue-with-duplicating-method-with-mmm-everynews</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 15:28:02 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14657.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Feb 2021 02:03:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 09:46:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-lewis" aria-label="Profile: j-lewis">@<bdi>j-lewis</bdi></a> You are welcome</p>
]]></description><link>https://forum.magicmirror.builders/post/88647</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88647</guid><dc:creator><![CDATA[Sven1894]]></dc:creator><pubDate>Fri, 19 Feb 2021 09:46:14 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 09:44:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sven1894" aria-label="Profile: sven1894">@<bdi>sven1894</bdi></a> Awesome thanks. So I guess you’re saying every selector has to be unique on a page.</p>
<p dir="auto">Yip, it’s working! Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/88646</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88646</guid><dc:creator><![CDATA[j-lewis]]></dc:creator><pubDate>Fri, 19 Feb 2021 09:44:10 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 09:15:06 GMT]]></title><description><![CDATA[<p dir="auto">I’m not a css expert either, but I hope I can explain it to you in an understandable way.</p>
<blockquote>
<ol>
<li>Why do you think this worked? (and/or why did it not work before)</li>
</ol>
</blockquote>
<p dir="auto">The <code>.MMM-EveryNews</code> is the selector, so for example</p>
<pre><code>.MMM-EveryNews .header {
  color: cyan;             /* Color the title text. Default is white. */
  text-align: center;           /* Align the title text. (left, center, right) */
  /*  display: none; */         /* Uncomment if you don't want title text */
}
</code></pre>
<p dir="auto">wanted to select the header from MMM-EveryNews and set the color to cyan and the the text-align to center.</p>
<p dir="auto">You renamed the modules to MMM-EveryNews2 and MMM-EveryNews3 but didn’t change the selector in the css file.<br />
So for example in your MMM-EveryNews2 module the css file still wanted to change the header from MMM-EveryNews. But there was nothing with the name MMM-EveryNews, because you changed the Name to MMM-EveryNews2.</p>
<p dir="auto">I hope this was understandable :grinning_face_with_sweat:</p>
<blockquote>
<ol start="2">
<li>Is there another way to do this as it would be a pain to do with every update of the module</li>
</ol>
</blockquote>
<p dir="auto">You could copy and paste the css entrys of each module in the custom.css file. (/MagicMirror/css/custom.css). I think that should work.</p>
<p dir="auto">But I also think adding three different modules is not the best solution. It should somehow be possible to do this by adding the same module three times, but I haven’t been able to figure out how until now. Maybe someone else has an idea, I am also a just MM beginner.<br />
But as long as this works for you, this solution is fine for now.</p>
<p dir="auto">I am glad I was able to help you. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/88645</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88645</guid><dc:creator><![CDATA[Sven1894]]></dc:creator><pubDate>Fri, 19 Feb 2021 09:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 08:48:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sven1894" aria-label="Profile: sven1894">@<bdi>sven1894</bdi></a> Awesome I renamed the .css’s in each directory and changed the .MMM-EveryNews .header to .MMM-EveryNews1 .header etc and that did it! Thanks so much!!!</p>
<p dir="auto">If you don’t mind, and so I can learn from this (have limited .css knowledge), I have a few questions:</p>
<ol>
<li>Why do you think this worked? (and/or why did it not work before)</li>
<li>Is there another way to do this as it would be a pain to do with every update of the module</li>
</ol>
<p dir="auto">I appreciate your time</p>
]]></description><link>https://forum.magicmirror.builders/post/88644</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88644</guid><dc:creator><![CDATA[j-lewis]]></dc:creator><pubDate>Fri, 19 Feb 2021 08:48:02 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 08:25:55 GMT]]></title><description><![CDATA[<p dir="auto">If you want to do that with the three different Modules you have to do a little change in the MMM-EveryNews.css file of each module:</p>
<pre><code>.MMM-EveryNews .header {
  color: cyan;             /* Color the title text. Default is white. */
  text-align: center;           /* Align the title text. (left, center, right) */
  /*  display: none; */         /* Uncomment if you don't want title text */
}

.MMM-EveryNews .source {
  color: cyan;             /* Color the title text. Default is white. */
  text-align: center;           /* Align the title text. (left, center, right) */
  /*  display: none; */         /* Uncomment if you don't want title text */
}

.MMM-EveryNews .title {
  color: cyan;             /* Color the title text. Default is white. */
  text-align: center;           /* Align the title text. (left, center, right) */
  /*  display: none; */         /* Uncomment if you don't want title text */
}

.MMM-EveryNews .photo {
    width: 350px;             /* Maximum width of image */
    height: 350px
    padding: 0px;             /* Nudge image */
    float: left;              /* Align the picture. (left, center, right) */
}

.MMM-EveryNews .description {
  color: cyan;             /* Color the information. Default is white. */
  text-align: center;           /* Align the information. (left, center, right) */
  font-size: 18px;
/*  display: none; */         /* Uncomment if you don't want descriptive information */
}
</code></pre>
<p dir="auto">For the Module MMM-EveryNews2 you have to chnage .MMM-EveryNews to .MMM-EveryNews2<br />
The same with MMM-EveryNews3 and so on.<br />
I think the modules should have all the same size then.</p>
]]></description><link>https://forum.magicmirror.builders/post/88643</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88643</guid><dc:creator><![CDATA[Sven1894]]></dc:creator><pubDate>Fri, 19 Feb 2021 08:25:55 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 08:50:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sven1894" aria-label="Profile: sven1894">@<bdi>sven1894</bdi></a> sure. basically it’s this without the numbers (so just MMM_EveryNews)</p>
<p dir="auto">basically I’ve tried every permutation</p>
<ul>
<li>called MMM_EveryNews three times with three different news sources (displays correctly formatted, but displays same news source)</li>
<li>called three copies of MMM_EveryNews  with three different news sources (displays incorrectly formatted, and displays 3  news sources)</li>
<li>called MMM_EveryNews three times with same news source (displays correctly formatted, and displays same news source)</li>
<li>called three copies of MMM_EveryNews  with same  news source<br />
(displays incorrectly formatted, and displays same news source) SCREENSHOT AND CODE</li>
</ul>
<p dir="auto"><img src="https://i.imgur.com/Zupo2bG.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/88642</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88642</guid><dc:creator><![CDATA[j-lewis]]></dc:creator><pubDate>Fri, 19 Feb 2021 08:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 08:08:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-lewis" aria-label="Profile: j-lewis">@<bdi>j-lewis</bdi></a> can you show me your config file when you try to add the same module 3 times?</p>
]]></description><link>https://forum.magicmirror.builders/post/88640</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88640</guid><dc:creator><![CDATA[Sven1894]]></dc:creator><pubDate>Fri, 19 Feb 2021 08:08:22 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 08:09:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sven1894" aria-label="Profile: sven1894">@<bdi>sven1894</bdi></a> When I call the same module 3 times with different news sources, it displays 3 copies the content of just one of sources (usually the first one). I guess it wasn’t designed to be called three times with the same source. The formatting however doesn’t get screwed up.</p>
<p dir="auto">Making copies of it and renaming the copies gets it to display the three different news sources fine but is screws up the  formatting  (even when I configure them all to display the same source)</p>
]]></description><link>https://forum.magicmirror.builders/post/88639</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88639</guid><dc:creator><![CDATA[j-lewis]]></dc:creator><pubDate>Fri, 19 Feb 2021 08:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to Help me fix my dashboard (see 1st comment) - Issue with duplicating method with MMM-EveryNews on Fri, 19 Feb 2021 08:03:41 GMT]]></title><description><![CDATA[<p dir="auto">Why don’t you jsut call the same module 3 times?</p>
]]></description><link>https://forum.magicmirror.builders/post/88638</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88638</guid><dc:creator><![CDATA[Sven1894]]></dc:creator><pubDate>Fri, 19 Feb 2021 08:03:41 GMT</pubDate></item></channel></rss>