mathelin Posted December 4, 2013 Share Posted December 4, 2013 (edited) Impossible d’insérer du code js pour integrer un iframe dans une page CMS. PRESTASHOP 1.5.6.1 Voici le message erreur $message = $this->validateField($field, $value, $id_lang);874. if ($message !== true)875. {876. if ($die)877. throw new PrestaShopException($message);878. return $error_return ? $message : false;879. }880. } /*********************** ONGLET PREFERENCES GENERALES > Préférences/générales/ autoriser iframe Edited December 5, 2013 by mathelin (see edit history) Link to comment Share on other sites More sharing options...
Gregory Roussac Posted December 5, 2013 Share Posted December 5, 2013 Bonjour, Un peu près la même réponse que http://www.prestashop.com/forums/topic/293640-impossible-dajouter-une-video-dans-mon-cms/?do=findComment&comment=1482168 svp faites une recherche sur le forum de iframe ou isCleanHtml https://github.com/PrestaShop/PrestaShop/blob/1.6/classes/Validate.php#L392 Cordialement Link to comment Share on other sites More sharing options...
mathelin Posted December 5, 2013 Author Share Posted December 5, 2013 Dans le validate.php si j'inverse les valeurs true et false (pour autoriser l'insertion de code) > j'arrive a insérer le code JS ou IFRAME. Lorsque je demande a visualiser la page > FATAL ERROR Link to comment Share on other sites More sharing options...
Gavimse Posted December 5, 2013 Share Posted December 5, 2013 Essaye ça Préférences/générales/ autoriser iframe http://www.ve-studio...-videos-iframe/ 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