iframes blocked

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
musicscore
Power Poster
Power Poster
Posts: 444
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

iframes blocked

Post by musicscore »

Hi there.

When I use an iframe on a page the iframe is blocked.
Searched for days now but do not find the cause.

In the pas I had now problems using iframe.

Please help.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: iframes blocked

Post by velden »

I'd suggest to provide some more information.

What do you mean by blocked?
Is this something in cmsms or happens on the front side?
Perhaps you can share an url where the problem can be seen.
musicscore
Power Poster
Power Poster
Posts: 444
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Re: iframes blocked

Post by musicscore »

Thanks for your response.
Here is the url : https://infowebs.nl/index.php?page=klantenportaal

This is the url I use in the iframe : https://factuur.infowebs.nl/public/client/login

T.I.A.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: iframes blocked

Post by DIGI3 »

Take a look at your console, your CORS security policy is blocking them, among other things:

Code: Select all

Refused to frame 'https://factuur.infowebs.nl/' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.
The content security policy is set outside of CMSMS, usually in your .htaccess file or at the server level. You may need to ask your host or server admin if you're unsure.
Not getting the answer you need? CMSMS support options
musicscore
Power Poster
Power Poster
Posts: 444
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Re: iframes blocked

Post by musicscore »

Thank you for the quick response.
I tryed a test.html with the iframe and that worked.
Post Reply

Return to “Layout and Design (CSS & HTML)”