Gnast Posted December 27, 2016 Share Posted December 27, 2016 Bonjour, J'essaie de reproduire une page comme celui ci : http://www.taklope.com/66-marques Pour cela j'ai fais une page CMS avec tout le code html <div class="center_brand"> <h1>Marques</h1> <table id="menu_brand"> <tbody> <tr> <td> <a href="#0-9">0-9</a> </td> <td> <a href="#A">A</a> </td> <td> <a href="#B">B</a> </td> <td> <a href="#C">C</a> </td> <td> <a href="#D">D</a> </td> <td> <a href="#E">E</a> </td> <td> <a href="#F">F</a> </td> <td> <a href="#G">G</a> </td> <td> <a href="#H">H</a> </td> <td> <a href="#I">I</a> </td> <td> <a href="#J">J</a> </td> <td> <a href="#K">K</a> </td> <td> <a href="#L">L</a> </td> <td> <a href="#M">M</a> </td> <td> <a href="#N">N</a> </td> <td> <a href="#O">O</a> </td> <td> <a href="#P">P</a> </td> <td> <a href="#Q">Q</a> </td> <td> <a href="#R">R</a> </td> <td> <a href="#S">S</a> </td> <td> <a href="#T">T</a> </td> <td> <a href="#U">U</a> </td> <td> <a href="#V">V</a> </td> <td> <a href="#W">W</a> </td> <td> <a href="#X">X</a> </td> <td> <a href="#Y">Y</a> </td> <td> <a href="#Z">Z</a> </td> </tr> </tbody> </table> <div id="brand_list"> <section id="0-9"> <p>0-9</p> <a href="">120 INDUSTRIES[USA]</a> </section> <section id="A"> <p>A</p> <a href="">ADDICTION</a> </section> <section id="B"> <p>B</p> </section> <section id="C"> <p>C</p> <a href="">CALIFORNIA VAPING[USA]</a> <a href="">CASSADAGA LIQUIDS[USA]</a> <a href="">CREAM VAPE CO[USA]</a> <a href="">CULT CLASSIC LIQUIDS[USA]</a> </section> <section id="D"> <p>D</p> </section> <section id="E"> <p>E</p> </section> </div> </div> </tbody> </table> Dans le dossier Overide/controllers/front/CmsControllers.php j'ai rajouté: //dans public function setMedia() if ((int)Tools::getValue(‘id_cms’) == 6) { $this->addJS(_THEME_JS_DIR_.‘marques.js’); $this->addCSS(_THEME_CSS_DIR_.‘marques.css’); } Link to comment Share on other sites More sharing options...
Gnast Posted January 18, 2017 Author Share Posted January 18, 2017 Problème résolu. 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