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.

    Default Newsfeed: Fullscreen News Article in MMM-Modal instead of iFrame

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 811 Views 2 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.
    • RaspiManuR Offline
      RaspiManu
      last edited by RaspiManu

      Dear MagicMirror-Community,

      I just joined the community forum, but I am working on a MagicMirror for some time now.
      At the moment, it has every module I want it to have, so I am working on some details.

      My MagicMirror is based on a 40" TV with an IR touch frame and I am using MMM-Touch
      to control the default newsfeed module with some touch gestures. When sending the
      “ARTICLE_MORE_DETAILS” notification 2 times, the full news article opens in an iFrame
      covering my whole screen (horizontal orientation) except a black bar at the top of the screen.
      This hides all other modules except the default weather module which is then black on the white
      iFrame background. I don’t know why the weather module is still visible, but this iFrame looks
      kind of creepy and is way too big for that screen size (see picture 1 below).

      That’s why I would love to use a modal of MMM-Modal of @strawberry-3-141 instead of the iFrame,
      so that the news page looks like the gas station map of MMM-Fuel and I can close it by hitting “Close”
      with one of my fingers (see picture 2 and 3 below).

      Sadly I don’t know much about coding in json or css. So could someone please tell me,
      how to modify the default newsfeed module, so it outputs the full newspage inside a modal of MMM-Modal
      instead of the iFrame? This would be great :)

      Best wishes
      RaspiManu

      Picture 1:
      Newsfeed_Fullscreen_default.JPG

      Picture 2:
      MMM-Fuel_Gas_Station_Map.JPG

      Picture 3 (what I want to achieve):
      Newsfeed_Fullscreen_Ziel.JPG

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @RaspiManu
        last edited by

        @RaspiManu I’m quite busy to help you out much here. But maybe it helps you to check out https://github.com/fewieden/MMM-Modal/issues/6 where @skuethe implemented MMM-Modal with MMM-Touch and MMM-WiFiPassword

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 1
        • RaspiManuR Offline
          RaspiManu
          last edited by

          Dear @strawberry-3-141 ,

          thank you very much for replying. At the moment I’m quite busy, too, but I will give this method a try as soon as possible :)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • 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