Read the statement by Michael Teeuw here.
MMM-Carousel error when position is undefined
-
New to MM and very excited to get it set up! My intent is to use the Carousel module to rotate through 3-5 modules in the top right corner of my screen. It appeared fairly straight forward but I have run into some unexpected issues.
{//Carousel module: "MMM-Carousel", position: "bottom_bar", config: { transitionInterval: 10000, ignoreModules: [], mode: "positional", top_right: { enabled: true, ignoreModules: [], overrideTransitionInterval: 15000, }, }, }
When I first got it loaded it was rotating through the modules as expected. However, I noticed that my news ticker in the bottom bar got bumped up as if another module was beneath it after I had already dropped the bottom body gap to 5 px. So I figure I would remove the position in the carousel module.
{//Carousel module: "MMM-Carousel", //~ position: "bottom_bar", config: { transitionInterval: 10000, ignoreModules: [], mode: "positional", top_right: { enabled: true, ignoreModules: [], overrideTransitionInterval: 15000, }, }, }
Once I did that the carousel failed to operate and it stacked my 4 modules in the top right. I have repeated this several times so something is causing the module not to function because the git instructions indicated the position line is not necessary unless the page icons were being displayed.
How can I fix this? My ultimate goal is to have the news feed 5 px off to the bottom of the screen while the modules rotate through in the upper right. I tried modifying some of the parameters from the MMM-Carousel.css but I can’t get the news ticker back down to the original position. -
@Chunnel414 carousel doesn’t need a position as it has no content to display of its own.
it just hides/shows other module content
I never tries the positional config.
-
@Chunnel414 you can do the same thing with MMM-pages…
make everything classes:“fixed” (using the simplified naming config)
except those modulesthey will be classes:“page1”, “page2”… etc
and pages will have 5 pages defines
{ module: "MMM-pages", disabled: false, config: { modules: [ [ "page1" ], [ "page2" ], [ "page3" ], [ "page4" ], [ "page5" ] ], fixed: [ "fixed" ], animationTime: 10000, hiddenPages: { } }, order: "*" },
the 5 modules are all configured top_right
only one will show at a time{ module:"clock", position:"top_right", classes:"page1", config:{ ... ... } } etc
-
@sdetweil thanks. I’ll take a look at pages.
I understand that carousel does not require the position. Although, as I described, if I did not put the position in there, the function of the carousel would not happen. And when I put the position back in the carousel function would work. I agree that it should not be required which is why I am providing this information as something appears to not be working appropriately.
-
@Chunnel414 i looked thru the code, and don’t see any impact of not having a position