Cornerstone iframe problems

Hey,

I tried embed an iframe that looks like the one below. I tried using “classic code snipped element” and “raw content element” but the iframe i either displayed as text or an empty element. What can I do to fix this?

Hi Fabian,

Classic code snippet is meant to show text as code. It will format it as code and not interpret the code you added.

I have tried adding an iframe on both raw content and content area element. Both are working on my test site.

One possible issue with iframe is if your site is secure using https and then the URL of the iframe is not secure and only using http. Please make sure that you are using same protocol. Both https or both http.

If the issue persist, we need to check your setup. Please share site URL and credentials inside a secure note. Thank you.

Hello Lely,

to my knowledge they are using the same protocols. The iframe works fine when I embed it in the normal wp pages. I will provide the credentials, the iframe located in section 7 and 8 on the homepage.

Thanks for the help!

Hey Fabian,

You should be using this iframe code in a content area element:

<iframe id="idZenPlannerFrame" style="width: 100%; height: 500px;" src="https://trial-4D94D5C5.zenplanner.com/zenplanner/portal/calendar.cfm?frame=true" width="320" height="240" frameborder="0"></iframe>

And meanwhile, please aware of this error:

Refused to display '<URL>' in a frame because an ancestor violates the following Content Security Policy
directive: "frame-ancestors 'self'".

You may need to check the following links:

Hope this helps.

Hey Ruenel,

unfortunately that did not fix the problem. I´m not a web developer an my knowledge in this area is limited. Thats why i chose to use Cornerstone in the first place. Would you mind to have a look at my site and maybe provide some directions how to fix the problem step by step. After all using an Iframe should be a basic feature of cornerstone.

Thank you for your help!

Hi Fabian,

This issue is actually not specific to Cornerstone. If you try to embed the iframe using the default Wordpress editor, you will get the same issue.

This has something to do with the .cfm you are trying to embed on the page. Since this issue is not directly related to Cornerstone, we could only provide you the possible solutions that was included in the previous response in this thread:

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.