Forums » List all forums » » Forum: Webmaster's Corner » » » Thread: Calendar not showing up on my webpage |
Posted by staugies at Jun 3, 2021, 11:38:42 AM |
Calendar not showing up on my webpage 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! |
Posted by support at Jun 8, 2021, 6:45:40 PM |
Re: Calendar not showing up on my webpage 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 |
Posted by staugies at Jul 1, 2021, 4:41:25 PM |
Re: Calendar not showing up on my webpage Thank you so much for your reply! That worked perfectly. I really appreciate your help! |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |