Photo of Caleb DeLaurentis

0

Iframes

I am trying to get iframes working. I want to put an iframe of a page on another website. I am aware that you can add a list of sites that rock will allow to use iframes. But, I can't seem to get it working. It still refuses the connection.


What information do I have to supply ROCK to get iframes working?

  • Photo of Miles Carmany

    0

    The setting is per Site (in Rock terms).

    Under Admin Tools > CMS Configuration > Sites, select the Site you want to enable iFrames for, and click Edit on the detail page.

    Under Advanced Settings, there is a field for Allowed Frame Domain(s).

    https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors#Syntax

    Has the information to be sure you are using the correct syntax for this field.