|
Index | Recent Threads | Register | |
Forums » List all forums » Forum: Webmaster's Corner » Thread: Calendar not showing up on my webpage |
Total posts in this thread: 3 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
staugies
New Member
|
I have been using localendar embedded on my website for many years without an issue. When I updated my website yesterday, my calendar didn't show up. Here is the webpage: https://staugiesdanville.org/monthlycalendar.html Here is the code I've been using: <iframe src="http://www.localendar.com/public/staugies?style=M0" height=1600 width=770 marginheight=10 marginwidth=10 scrolling=yes frameborder=0 border=0></iframe> The only thing that has changed recently is that Bluehost upgraded our site with an SSL certificate. I use a program called SiteSpinner to create my website. I tried the responsive <iframe> code and that didn't work for me either. Thank you for your help with this issue! |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6421 Status: Offline |
Ah, the answer is super-simple First, the problem: If your page is being served over https, then the inclusion of some content (like your calendar) over http is considered "insecure" and most browsers won't load it. Now, you could just change the localendar code to use https://, and that would fix it. But what if someone still hits your site with http? Some ISPs will automatically redirect them to https. But if they don't, now you have the same problem but in reverse. The best solution is to use what's called a "protocol relative" url. This will load the frame using whatever the parent page uses (either http or https). The format looks like this: <iframe src="//www.localendar.com/public/staugies?style=M0" height=1600 width=770 marginheight=10 marginwidth=10 scrolling=yes frameborder=0 border=0></iframe> ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
staugies
New Member
|
Thank you so much for your reply! That worked perfectly. I really appreciate your help! |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |