Jump to content

[RESOLU] Balise incompatible avec les pages CMS ?


Recommended Posts

Bonjour,

 

Je souhaite afficher sur une page CMS une image avec des zones cliquables. Le soucis, c'est que le contenu de mes balises <map> n'est tout simplement pas enregistré malgré de nombreux essais.

 

Après quelques recherches, j'ai :

- coché "oui" à l'option "Autoriser les iframes dans les champs HTML" dans préférences>paramètres généraux

- édité le fichier Validate.php dans le répertoire /classes et remplacé "false" par "true" (public static function isCleanHtml($html, $allow_iframe = true)

 

Mais rien n'y fait.

<p><map name="map__teint" id="map_teint">
<area shape="rect" coords="40,360,175,580" href="a.html" alt="Bronzing Powder Compact Long-Lasting n°30 - Terracota"/>
<area shape="rect" coords="182,360,315,580" href="b.html" alt="Artdeco Poudre Bronzante Compacte n°50 - Almond"/>
<area shape="rect" coords="320,360,453,580" href="c.html" alt="Bronzing Powder Compact Long-Lasting n°80 - Natural"/>
<area shape="rect" coords="458,360,590,580" href="c.html" alt="Poudre Bronzante Compacte n°90 - Toffee"/>
<area shape="rect" coords="270,600,630,890" href="a.html" alt="Sun Blusher Artdeco"/>
<area shape="rect" coords="700,20,1200,440" href="a.html" alt="Golden Bronze Oil Drops"/>
</map></p>
<p><map name="map__yeux_levres" id="map__yeux_levres">
<area shape="rect" coords="200,370,255,580" href="a.html" alt="High Performance Eyeshadow Stylo n°24 - Antique Bronze"/>
<area shape="rect" coords="262,370,334,580" href="b.html" alt="Fard à Paupières Artdeco High Performance Stylo n°24 - Antique Bronze"/>
<area shape="rect" coords="345,370,395,580" href="c.html" alt="High Performance Eyeshadow Stylo n°24 - Antique Bronze"/>
<area shape="rect" coords="408,370,471,580" href="c.html" alt="Crayon Fard à Paupières Haute Performance n°24 - Antique Bronze"/>
<area shape="rect" coords="40,520,115,880" href="a.html" alt="Long Lashes Mascara Black Artdeco"/>
<area shape="rect" coords="1020,115,1091,480" href="a.html" alt="Color Lip Shine n°6 - Shiny Bronze"/>
<area shape="rect" coords="1098,115,1165,480" href="a.html" alt="Rouge à lèvres Color Lip Shine n°10 - Shiny Apricot"/>
<area shape="rect" coords="1173,115,1240,480" href="a.html" alt="Color Lip Shine n°21 - Shiny Bright Red"/>
<area shape="rect" coords="690,490,753,850" href="a.html" alt="Long-Wear Lip Color n°50 - Rich Desert Sand"/>
<area shape="rect" coords="763,490,826,850" href="a.html" alt="Artdeco Long-Wear Lip Color n°54 - Rich Papaya"/>
<area shape="rect" coords="834,490,896,850" href="a.html" alt="Long-Wear Lip Color n°57 - Rich Coralle Rose"/>
</map></p>
<p><img src="https://moninstitutbeaute.com/img/cms/bronzing1.JPG" alt="bronzing1.JPG" width="100%" usemap="#map_teint" /></p>
<p></p>
<p></p><p></p><p></p>
<p><img src="https://moninstitutbeaute.com/img/cms/bronzing2.JPG" alt="bronzing2.JPG" width="100%" usemap="#map__yeux_levres" /></p>

Avez-vous une solution ?

 

Merci

Edited by MarcKarl (see edit history)
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...