![]() |
Can't iFrame a site built with GS v3.3.5 - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Can't iFrame a site built with GS v3.3.5 (/showthread.php?tid=7124) |
Can't iFrame a site built with GS v3.3.5 - davetest - 2015-03-04 Has there been a deliberate change in 3.3.5, or something else? Previously I've never had a problem placing any site built with GS, up to v3.3.4, into an iframe. With the default instal of v3.3.5 if I place the site in an iframe (on some other site) it does not appear. The source code of the iframe actualy has no content in my browser. Is this something to do with .htaccess or what? RE: Can't iFrame a site built with GS v3.3.5 - shawn_a - 2015-03-04 EDIT: my bad looks like this applies to front end and backend, and should only be blocking back end and logins So the docs are wrong. you should read release notes when updating stuff ![]() https://github.com/GetSimpleCMS/GetSimpleCMS/issues/971 gsconfig PHP Code: # GS prevents backend pages from being loaded in a frame It looks like this is preventing front end also, i don't know if I changed my mind and meant to change that, or i put the code outside the brackets on accident. I think this is a bug. This should probably only apply to backend. Either way define('GSNOFRAME',false); will fix it RE: Can't iFrame a site built with GS v3.3.5 - davetest - 2015-03-05 Thanks Shaun define('GSNOFRAME',false); fixed it for me. I also tried other options from your Github post link, but "true or 1 (default) backend only" killed the front end too, so I'll just do without the function for now. Thanks again for fast solution. RE: Can't iFrame a site built with GS v3.3.5 - Carlos - 2015-03-05 Those other options are not valid, just suggestions I made. RE: Can't iFrame a site built with GS v3.3.5 - shawn_a - 2015-03-05 Yeah false turns it off, your fine. You should copy any new settings in gsconfig into yours when you upgrade, so you have them. You can find them in the temp config file, or at least check the temp for new configs. |