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.
    • ? Offline
      A Former User @blueadam
      last edited by

      @blueadam

      description.innerHTML = `<img src="/modules/default/newsfeed/hsLogo.png">` + ...
      

      HTML entity escaping is not so good in this Forum BBS program
      @justjim1220 might had typed ' but this BBS program had changed it to " automatically.
      Anyway, you can use above code;

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @blueadam
        last edited by

        @blueadam
        I think this would be what @justjim1220 really typed;
        0_1539358832024_temp.png

        1 Reply Last reply Reply Quote 0
        • B Offline
          blueadam
          last edited by blueadam

          Yeah, with those changes newsfeed module came back but it still looks exactly the same that it was, so there isn’t that logo that I’m using

          EDIT

          showDescription was set to false and when I changed it to true all changes started to work but now I have another problem. Now there is the original headline and the new one so there are two headlines at the same time.

          EDIT 2.0

          Finally it works! I had to change the newsfeed.js code a little bit and had to change some true values to false from config.js. Also, I decided to move the module to bottom_left. After all changes the final result looks like this. I’m about to make second news module right below this one after this one.

          0_1539377474606_kuvakaappaus.PNG

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

            @justjim1220 I was just about to say that! lol

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

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

              @cyberphox @blueadam @Sean

              I see that I didn’t notice the changes that the forums made when I copy/pasted the code.

              Apologies!

              I also missed a step: Need to add getStyles function to the newsfeed.js Pic for placement

              0_1539381776852_Screenshot (145).png

              And this is what I tried to post and the forums didn’t like it and cahnged it, This is what you need to get it to work:
              0_1539381869307_Screenshot (146).png

              I will fix this in my original post.

              Again, Apologies!

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

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

                here it is with the New York Times…

                0_1539382581526_Screenshot (150).png

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

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

                  @justjim1220 figure out multiple feeds and logos yet? LOL

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

                  justjim1220J 2 Replies Last reply Reply Quote 0
                  • justjim1220J Offline
                    justjim1220 Module Developer @cyberphox
                    last edited by

                    @cyberphox

                    Working on it!!! :smiling_face_with_sunglasses:

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

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

                      @cyberphox

                      Did you get your to work?

                      Apologies for the mistakes posted by forums.

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

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        electros Project Sponsor @blueadam
                        last edited by electros

                        @blueadam can you tell me please how i can make to look like this ?
                        And please tell me, who know of course the picture logo must have a specific dimensions like no big then… ?

                        ? 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 4 / 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