MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    How To Add IFRAME Code to Calendar

    General Discussion
    3
    8
    2784
    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.
    • A
      AAPS last edited by

      Online I have found the code for a widget I would like to add to the calendar module somehow.
      Here it is:
      <
      iframe id=“iframe” src=“https://www.islamicfinder.org/prayer-widget/4560349/shafi/5/0/15/15” frameborder=“0” scrolling=“no” style=“width: 182px; height: 358px; border: 1px solid #ddd;”>

      However, I do not really know how to get the url for it to work with the calendar. Could anyone help me?

      1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator last edited by

        I’m not really sure what you want to accomplish.
        Do you want to see the prayer thing on your mirror? Or do you want to add the prayer entries to your calendar?

        1 Reply Last reply Reply Quote 0
        • A
          AAPS last edited by

          I would like to see the entries on my calendar, but if that isn’t possible, how could I just see it on my mirror? It honestly isn’t necessary. I just wanted to know if I could do it. Either way, I won’t spend that much time wondering about it.

          1 Reply Last reply Reply Quote 0
          • yawns
            yawns Moderator last edited by

            Okay, fair enough. Then you could use the iframe module (or the hello world module) with your iframe code.
            I’m on my mobile phone currently, I will put some code down tomorrow if no one else did in the meantime.

            tosti007 1 Reply Last reply Reply Quote 0
            • A
              AAPS last edited by

              Nice! Thanks so much! It isn’t every day that you can find people who are willing to help you in a way that would benefit you instead of them. I am really grateful.

              1 Reply Last reply Reply Quote 0
              • tosti007
                tosti007 Module Developer last edited by

                @AAPS if you google for something similair to islam prayer ical or islam prayer ics then you can find some generators for a ics file. If you generate one there you can use the link to that ics in your calendar. I don’t know how all those times work so you will have to do the searching for a correct ics file yourself.

                If there is anything don't hesitate to contact me!
                ProfileSwitcher, TouchNotifications

                1 Reply Last reply Reply Quote 0
                • tosti007
                  tosti007 Module Developer @yawns last edited by tosti007

                  @yawns I tried the hello world module and just threw those lines in, but all I see are the borders. So i think the iframe module would probably work better.

                  If there is anything don't hesitate to contact me!
                  ProfileSwitcher, TouchNotifications

                  1 Reply Last reply Reply Quote 1
                  • A
                    AAPS last edited by

                    That’s cool. I also found a website where I can just get the .ics file, so I’ll play around with it, and see what works.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy