MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Change newsfeed title to image/logo?

    Scheduled Pinned Locked Moved Development
    58 Posts 7 Posters 31.6k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cyberphox
      last edited by cyberphox

      Got lots of config errors copying that…weird…

      Checking file… /home/pi/MagicMirror/config/config.js
      Line 192 col 1 Expected ‘}’ to match ‘{’ from line 160 and instead saw ‘]’.
      Line 193 col 2 Expected ‘]’ to match ‘[’ from line 28 and instead saw ‘}’.
      Line 193 col 3 Expected ‘}’ to match ‘{’ from line 11 and instead saw ‘;’.
      Line 193 col 4 Missing semicolon.

      Had to add an extra close bracket }

      Full time Dad, DJ and entertainer and lover of technology.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        StrIIker @cyberphox
        last edited by

        @cyberphox

        Yeah, I have spent a lot of time trying to figure out where I was missing something… Generally it was a missing comma at the end of a config line which had additional content following it or misplacing the { or }.
        Also, the modules are loaded in order as they appear in the config so if you want a couple of things in the top left (denoted by the location parameter “position”: “top_left”, the first module will be the top left and the second module read would be just below that.

        1 Reply Last reply Reply Quote 0
        • C Offline
          cyberphox
          last edited by

          I have it working now after adding the extra bracket, but as stated above its’ a little big for portrait mode…it’s running a bit sluggish but i expect thats more of a raspberry pi issue…changing the font % in custom.css didnt seem to shrink it any for me

          Full time Dad, DJ and entertainer and lover of technology.

          1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer
            last edited by

            @StrIIker
            @cyberphox

            My Apologies for the issues you are having, but, I am looking over the code to make these fixes and I am not seeing any of the problems you are describing…

            Any way you could show me the specific places these errors are occurring?

            I ran it through an error checker and it’s not finding any errors…

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            C S 2 Replies Last reply Reply Quote 0
            • C Offline
              cyberphox @justjim1220
              last edited by

              @justjim1220 My apologies to you! The module is working just fine for me now…took a little tinkering but I got it.

              The only issue I’m having now is re-sizing and maybe getting it to run a little smoother (again that might be a limitation of the Pi) Can’t seem to get a full headline in before it switches…but I’ll mess around with it

              Great module…thanks for your work

              Full time Dad, DJ and entertainer and lover of technology.

              Mykle1M justjim1220J 2 Replies Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @cyberphox
                last edited by

                @cyberphox said in Change newsfeed title to image/logo?:

                again that might be a limitation of the Pi

                It is

                Create a working config
                How to add modules

                C 1 Reply Last reply Reply Quote 3
                • justjim1220J Offline
                  justjim1220 Module Developer @cyberphox
                  last edited by

                  @cyberphox

                  Thanks!
                  Glad you like it.

                  What did you have to tinker with to get it working?

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    cyberphox @Mykle1
                    last edited by

                    @mykle1 I have a Synology NAS running Docker…I really need to learn how to install this all in a docker package and edit it and run it from the Server…

                    Full time Dad, DJ and entertainer and lover of technology.

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cyberphox @justjim1220
                      last edited by

                      @justjim1220 Literally I was just missing a } after copying and pasting somehow…

                      Full time Dad, DJ and entertainer and lover of technology.

                      1 Reply Last reply Reply Quote 1
                      • S Offline
                        StrIIker @justjim1220
                        last edited by

                        @justjim1220 said in Change newsfeed title to image/logo?:

                        @striiker

                        Add this to custom.css, Make the changes you want in it…

                        .MMM-NewsFeedTicker {
                            height: 100px;
                            background-color: maroon;
                            opacity: 1.0;
                        }
                        
                        .MMM-NewsFeedTicker .headline {
                            padding-top: 15px;
                            font-size: 100%;
                        }
                        
                        .MMM-NewsFeedTicker .image {
                          height: 100px;
                          background-color: #FFF;
                        }
                        

                        Let me know if you have any problems with this.

                        I am glad that you like it! :smiling_face_with_sunglasses:

                        I added the lines to the custom.css and adjusted as follows. I still see the scrolling text as full size / cut off (screenshot of section included…

                        .MMM-NewsFeedTicker {
                            height: 50px;
                            background-color: maroon;
                            opacity: 0.5;
                        }
                        
                        .MMM-NewsFeedTicker .headline {
                            padding-top: 15px;
                            font-size: 50%;
                        }
                        
                        .MMM-NewsFeedTicker .image {
                          height: 50px;
                          background-color: #FFF;
                        }
                        

                        0_1540509375376_Screen Shot 2018-10-25 at 7.14.32 PM.png

                        C justjim1220J 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 5 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy