MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

MMM-Reddit two headers instead of just one



  • Hey Guys, I’m new to the MM community and wanted to put in a Reddit module I found on this forum. (https://github.com/kjb085/MMM-Reddit) Now as you can see in this image, I have two headers instead of just one. Does anyone know a solution? Some other user posted the same issue in the forum of the module maker but he didnt response (12 days ago).

    {
    			module: "MMM-Reddit",
    			position: "top_right",
    			config: {
        				subreddit: 'aww',
    				displayType: 'image',
    				imageQuality: 'high',
    				count: 10,
    				show: 1,
    				width: 500,
    				showNumComments: false,
    				showHeader: true,
    			}
    		},
    

  • Project Sponsor

    @JoMa25 - try turning off the showHeader in your config and see if one of the headers goes away. I didn’t look at the code, but it’s possible the module creator implemented his own header before the Magic Mirror framework started doing it.

    You can probably turn off the module-specific header and use the MagicMirror’s framework header. I don’t know if the header is supposed to be dynamic in the module, but a decent workaround may be:

    module: "MMM-Reddit",
    	position: "top_right",
            header: "Topics from s/aww",
    	config: {
                   subreddit: 'aww',
    	       displayType: 'image',
    		imageQuality: 'high',
    		count: 10,
    		show: 1,
    		width: 500,
    		showNumComments: false,
    		showHeader: false,
         }
    


  • This post is deleted!

  • Project Sponsor

    @JoMa25 - sorry, was bouncing around abit on my code. See my edited post for an alternative.



  • @bhepler your custom header doesnt show


Log in to reply