Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
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
Previous Thread This topic has been viewed 437 times and has 2 replies Next Thread
staugies
New Member



Joined: May 27, 2014
Posts: 2
Status: Offline

Edit this Post   Calendar not showing up on my webpage Reply to this Post
Reply with Quote
[Delete this Thread]

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!
[Jun 3, 2021, 11:38:42 AM] [68.44.37.168] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6421
Status: Offline
Edit this Post   Re: Calendar not showing up on my webpage Reply to this Post
Reply with Quote
[Delete this Post]

Ah, the answer is super-simple smile

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
[Jun 8, 2021, 6:45:40 PM] [69.126.126.9] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
staugies
New Member



Joined: May 27, 2014
Posts: 2
Status: Offline

Edit this Post   Re: Calendar not showing up on my webpage Reply to this Post
Reply with Quote
[Delete this Post]

Thank you so much for your reply! That worked perfectly. I really appreciate your help! smile
[Jul 1, 2021, 4:41:25 PM] [68.44.37.168] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us