• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

This Day in History ticker?

Scheduled Pinned Locked Moved Requests
14 Posts 4 Posters 5.9k Views 3 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
    cowboysdude Module Developer
    last edited by Feb 14, 2018, 2:01 AM

    Just write a module.

    1 Reply Last reply Reply Quote 0
    • C Offline
      cowboysdude Module Developer @yawns
      last edited by Feb 14, 2018, 2:06 AM

      @yawns said in This Day in History ticker?:

      @donutsoup

      You mean just showing an excerpt of the actual text? You could try to fiddle around with CSS using text-overflow: ellipsis; but this does not support multiline text. So it would be very ugly :) Besides that, this is not possible at this point.
      Should be easy to implement something like maxLength: 200, to cut the text after 200 characters and to show a … at the end to indicate there is more text. I don’t see the use, as you cannot tap the … to see the whole text.

      I submitted a Pull Request, let’s see if cowboysdude accepts my changes to his module :)

      I wouldn’t have a problem with that if it’s a config option. :)

      Y 1 Reply Last reply Feb 14, 2018, 8:44 AM Reply Quote 0
      • Y Offline
        yawns Moderator @cowboysdude
        last edited by Feb 14, 2018, 8:44 AM

        @cowboysdude said in This Day in History ticker?:

        I wouldn’t have a problem with that if it’s a config option. :)

        That’s exactly what I submitted: https://github.com/cowboysdude/MMM-History/pulls

        C 1 Reply Last reply Feb 15, 2018, 1:28 AM Reply Quote 3
        • C Offline
          cowboysdude Module Developer @yawns
          last edited by cowboysdude Feb 15, 2018, 1:30 AM Feb 15, 2018, 1:28 AM

          @yawns said in This Day in History ticker?:

          @cowboysdude said in This Day in History ticker?:

          I wouldn’t have a problem with that if it’s a config option. :)

          That’s exactly what I submitted: https://github.com/cowboysdude/MMM-History/pulls

          Then request accepted :) Thank you! It’s done!

          1 Reply Last reply Reply Quote 2
          • N Offline
            ninjabreadman @donutsoup
            last edited by Feb 15, 2018, 2:08 AM

            @donutsoup @cowboysdude That would make a slick module. You could cobble it together from various others, like MMM-json-feed to fetch your data and newsfeed to display it in discrete elements/items.

            Problem with config or JavaScript? Copy/paste it into JSHint.
            Check out the detailed walkthroughs on install, config, modules, etc.

            1 Reply Last reply Reply Quote 0
            • C Offline
              cowboysdude Module Developer
              last edited by cowboysdude Feb 15, 2018, 3:05 AM Feb 15, 2018, 2:32 AM

              Wouldn’t need another module to get the data it already comes in json format… just put the info in rotating fashion and you’d have a new module … ;)

              I started it here… Long day I’ll work on it more tomorrow ;)

              https://github.com/cowboysdude/MMM-TDH

              N 1 Reply Last reply Feb 15, 2018, 2:35 AM Reply Quote 0
              • N Offline
                ninjabreadman @cowboysdude
                last edited by Feb 15, 2018, 2:35 AM

                @cowboysdude Agreed, I meant if @xela is looking to find code examples to construct a single module. Sorry if that wasn’t clear; best to keep in a single module.

                Problem with config or JavaScript? Copy/paste it into JSHint.
                Check out the detailed walkthroughs on install, config, modules, etc.

                C 1 Reply Last reply Feb 16, 2018, 1:47 AM Reply Quote 1
                • C Offline
                  cowboysdude Module Developer @ninjabreadman
                  last edited by Feb 16, 2018, 1:47 AM

                  @ninjabreadman said in This Day in History ticker?:

                  @cowboysdude Agreed, I meant if @xela is looking to find code examples to construct a single module. Sorry if that wasn’t clear; best to keep in a single module.

                  That’s okay you guys can finish it… I’m super busy… it’s there and the data part is done and coming in. Someone wants to make a complete module please let me sign it over. :)

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  2 / 2
                  • First post
                    11/14
                    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