How To Add IFRAME Code to Calendar
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?
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?
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.
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.
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.
@AAPS if you google for something similair to
islam prayer icalor
islam prayer icsthen 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.
@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.
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.