Phinky503 Posted February 21, 2016 Share Posted February 21, 2016 I have completed all of the usual tasks to ensure iframe support. Here is the list: 1.) Turned iframe support on and html purifier off in general settings 2.) Defined various mouse js events in /classes/validate.php 3.) Commented out appropriate lines of isCleanHtml function in /classes/validate.phpIf the page is inspected with Firebug, I can see the iframe code has been written, but there is no data inside of the <body> tag. I can edit the html in Firebug to include text inside of the <body> tag and it will appear on the page. That is anecdotal, but it at least shows me the browser if functioning as it should.For some reason, Prestashop is not showing what is inside of an iFrame. Any idea why? Also, I would like to know where the actual file is that holds Prestashop general settings. I need to make sure the backoffice is actually turning iframes on. I've searched but can't them anywhere. Link to comment Share on other sites More sharing options...
Phinky503 Posted February 22, 2016 Author Share Posted February 22, 2016 (edited) No errors. Prestashop just won't save any data that I've written inside of the iframe tags for some reason. I have also tried embedding iframe data using the insert video feature in tinymce, but it doesn't work either. Edited February 22, 2016 by Phinky503 (see edit history) Link to comment Share on other sites More sharing options...
Phinky503 Posted February 24, 2016 Author Share Posted February 24, 2016 Solved: mdekker, thank you for chiming in. I determined the issue. I didn't realize that iframes require data from an outside source (src="https://www.foo.com"). I was attempting to write raw text inside of the iframe tags. The goal was to create a scrolling text area by simply using tinymce inside of a cms page. Apparently the only way to create a scrolling text area is to write an html file and then embed it. I was really trying to avoid that. Link to comment Share on other sites More sharing options...
Phinky503 Posted February 24, 2016 Author Share Posted February 24, 2016 The solution is to use css overflow property. I knew the iframes are dated and phasing out, but I couldn't find the appropriate css property. Here it is if anyone else runs into this issue. div.scroll { width: 100px; height: 100px; overflow: scroll; } 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now