Jump to content

Issue with iFrame


Cenusia

Recommended Posts

Hi everibody

First of all, apologize my English (i'm french).

I'm trying to insert a map with iFrame on a page of my presta 1.7

This is a pain. I found several solutions, but none works :

- Accept the iFrames in the CMS config.

- Modification of the file "validate.php", comment the following string :


        if (preg_match('/<[\s]*script/ims', $html) || preg_match('/('.$events.')[\s]*=/ims', $html) || preg_match('/.*script\:/ims', $html)) {
            return false;
        }

        if (!$allow_iframe && preg_match('/<[\s]*(i?frame|form|input|embed|object)/ims', $html)) {
            return false;
        }

- Insert the iFrame inside the source code of the page.

- Inster the iFrame with the "insert video / insert" function of the CMS

Nothing work. The screen is black, i've nothing.

I see that i've the same issue with Youtube videos.

I already search of the forum and try (i think) all solutions.

Thanks for help.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...