AngelDisc Posted March 19, 2017 Share Posted March 19, 2017 Bonjour. Voici un petit module pour afficher votre menu verticalement et en multi level. Compatible : 1.7.x.x Traductions : FR Vous pouvez voir le module en fonctionnement sur http://www.angeldisc.com/ et aussi télécharger la dernière version. mlpushmenu-prestashop.zip 1 Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted March 19, 2017 Share Posted March 19, 2017 (edited) Bonjour , Merci pour ce partage , Possible pour la 1.6 ? Edited March 19, 2017 by Soyons zen (see edit history) Link to comment Share on other sites More sharing options...
AngelDisc Posted March 19, 2017 Author Share Posted March 19, 2017 Bonsoir. Dans l'état, il est impossible de passer en 1.6 (Hook inexistant) Après, si t'es un bidouilleur Tu peux créer 2 hooks, puis ajouter les hooks à ton thème. Bon Dev. 1 Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted March 19, 2017 Share Posted March 19, 2017 Bonsoir. Dans l'état, il est impossible de passer en 1.6 (Hook inexistant) Après, si t'es un bidouilleur Bon Dev. Bonsoir , Merci du retour ok je bidouille ^^ Link to comment Share on other sites More sharing options...
AngelDisc Posted March 21, 2017 Author Share Posted March 21, 2017 (edited) Bonjour. Pour passer le module en 1.6 Dans le fichier mlpushmenu.php (ligne 47) $this->ps_versions_compliancy = array('min' => '1.6.0.0', 'max' => _PS_VERSION_); Dans la BDD INSERT INTO `ps16_hook` ( `id_hook` , `name` , `title` , `description` , `position` , `live_edit` ) VALUES ( NULL , 'displayAfterBodyOpeningTag', 'Very top of pages', 'Use this hook for advertisement or modals you want to load first.', '1', '1' ); INSERT INTO `ps16_hook` ( `id_hook` , `name` , `title` , `description` , `position` , `live_edit` ) VALUES ( NULL , 'displayBeforeBodyClosingTag', 'Very bottom of pages', 'Use this hook for your modals or any content you want to load at the very end.', '1', '1' ); Dans le fichier header.tpl de ton thème (juste au dessous de la balise body) {hook h='displayAfterBodyOpeningTag'} Dans le fichier Footer.tpl de ton thème (juste au dessus de la balise body) {hook h='displayBeforeBodyClosingTag'} Créer un fichier FrontController.php dans (override\classes\controller) <?php /* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class FrontController extends FrontControllerCore { /** * Initializes common front page content: header, footer and side columns */ public function initContent() { $this->process(); if (!isset($this->context->cart)) { $this->context->cart = new Cart(); } if (!$this->useMobileTheme()) { // These hooks aren't used for the mobile theme. // Needed hooks are called in the tpl files. $this->context->smarty->assign(array( 'HOOK_HEADER' => Hook::exec('displayHeader'), 'HOOK_TOP' => Hook::exec('displayTop'), 'HOOK_BeforeBodyClosingTag' => Hook::exec('hookdisplayBeforeBodyClosingTag'), 'HOOK_AfterBodyOpeningTag' => Hook::exec('hookdisplayAfterBodyOpeningTag'), 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''), 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''), )); } else { $this->context->smarty->assign('HOOK_MOBILE_HEADER', Hook::exec('displayMobileHeader')); } } } Et big ça fonctionne Bon dev Edited March 21, 2017 by AngelDisc (see edit history) 1 Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted March 21, 2017 Share Posted March 21, 2017 (edited) Bonjour. Pour passer le module en 1.6 Dans le fichier mlpushmenu.php (ligne 47) $this->ps_versions_compliancy = array('min' => '1.6.0.0', 'max' => _PS_VERSION_); Dans la BDD INSERT INTO `ps16_hook` ( `id_hook` , `name` , `title` , `description` , `position` , `live_edit` ) VALUES ( NULL , 'displayAfterBodyOpeningTag', 'Very top of pages', 'Use this hook for advertisement or modals you want to load first.', '1', '1' ); INSERT INTO `ps16_hook` ( `id_hook` , `name` , `title` , `description` , `position` , `live_edit` ) VALUES ( NULL , 'displayBeforeBodyClosingTag', 'Very bottom of pages', 'Use this hook for your modals or any content you want to load at the very end.', '1', '1' ); Dans le fichier header.tpl de ton thème (juste au dessous de la balise body) {hook h='displayAfterBodyOpeningTag'} Dans le fichier Footer.tpl de ton thème (juste au dessus de la balise body) {hook h='displayBeforeBodyClosingTag'} Créer un fichier FrontController.php dans (override\classes\controller) <?php /* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class FrontController extends FrontControllerCore { /** * Initializes common front page content: header, footer and side columns */ public function initContent() { $this->process(); if (!isset($this->context->cart)) { $this->context->cart = new Cart(); } if (!$this->useMobileTheme()) { // These hooks aren't used for the mobile theme. // Needed hooks are called in the tpl files. $this->context->smarty->assign(array( 'HOOK_HEADER' => Hook::exec('displayHeader'), 'HOOK_TOP' => Hook::exec('displayTop'), 'HOOK_BeforeBodyClosingTag' => Hook::exec('hookdisplayBeforeBodyClosingTag'), 'HOOK_AfterBodyOpeningTag' => Hook::exec('hookdisplayAfterBodyOpeningTag'), 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''), 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''), )); } else { $this->context->smarty->assign('HOOK_MOBILE_HEADER', Hook::exec('displayMobileHeader')); } } } Et big ça fonctionne Bon dev Bonjour http://www.angeldisc.com C'est Sympa de ta part , justement j'etais dessus , Merci pour ce partage Merci Ca fonctionne... Edited March 21, 2017 by Soyons zen (see edit history) Link to comment Share on other sites More sharing options...
PixGeek Posted March 23, 2017 Share Posted March 23, 2017 Bonjour http://www.angeldisc.com C'est Sympa de ta part , justement j'etais dessus , Merci pour ce partage Merci Ca fonctionne... Cela serait sympa de joindre le zip du module modifié non? Link to comment Share on other sites More sharing options...
nadie Posted March 23, 2017 Share Posted March 23, 2017 Bonjour. Voici un petit module pour afficher votre menu verticalement et en multi level. Compatible : 1.7.x.x Traductions : FR Vous pouvez voir le module en fonctionnement sur http://www.angeldisc.com/ et aussi télécharger la dernière version. Thanks for the contribution! I have linked your module in the Hispanic section of free modules: https://www.prestashop.com/forums/topic/601420-m%C3%B3dulo-flotante-de-categor%C3%ADas-para-prestashop-17/ (Leaving the download link original to the Frances forum) I have done a review in Spanish in my old blog of its module for the Spanish Community: http://victor-rodenas.com/2017/03/23/menu-vertical-de-categorias-multinivel-para-prestashop-1-7/ Long live the Prestashop Community ! Thanks ! Sorry for my English ! Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted March 24, 2017 Share Posted March 24, 2017 (edited) Cela serait sympa de joindre le zip du module modifié non? Salut Man , j'ai fait que les modifs "ça fonctionne" Quand j'aurai un peu de temps , il faut les intégrées dans le module, comme ça il y a qu'a installer.. Edited March 24, 2017 by Soyons zen (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted March 24, 2017 Share Posted March 24, 2017 (edited) Thanks you for the module! I'm using it in Ps 1.7 with default template (classic). Is it possible to enable the scroller? I have categories that can not be seen. When I enabled this module and I enlarge the image of a product, there is no way to go back. The popup image does not disappear. I have to use F5 to disappear the enlarged image. Best regards Edited March 24, 2017 by jhd (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted March 26, 2017 Share Posted March 26, 2017 Hello, In AddRemove demo If I add 20 elements with 'Counter add item' button, it is possible to use the scroll, why in Prestashop 1.7 no? Best regards Link to comment Share on other sites More sharing options...
Un_Tal_Iban Posted May 14, 2017 Share Posted May 14, 2017 (edited) Fail to implement in 1.6 , broke a lot of visual components, margins, module positions... Still very good work, nice menu and free! Good work, thank you for sharing! Edited May 14, 2017 by tali656 (see edit history) Link to comment Share on other sites More sharing options...
jopo01 Posted June 29, 2017 Share Posted June 29, 2017 Un gran modulo menú. Lastima que falle a la visualización de imagenes de producto que no te deja cerrar la foto. Y tampoco permite scroll si tienes muchas subcategorias. Una pena, pues es justo lo que buscaba. A good menu module. It doesn´t work with preview products photos, because can´t close the photo. Scroll is not supported in menu, and if you hava many subcategories doesn´t click. í´m afraid. 1 Link to comment Share on other sites More sharing options...
web-port.pl Posted December 2, 2017 Share Posted December 2, 2017 One Tip Put: {hook h='displayAfterBodyOpeningTag'} {hook h='displayBeforeBodyClosingTag'} Together in header.tpl under BODY tag less problems! Link to comment Share on other sites More sharing options...
Soyons Solidaire Posted December 14, 2017 Share Posted December 14, 2017 On 02/12/2017 at 2:27 PM, web-port.pl said: One Tip Put: {hook h='displayAfterBodyOpeningTag'} {hook h='displayBeforeBodyClosingTag'} Together in header.tpl under BODY tag less problems! Hi, where is header.tpl under BODY tag ? Link to comment Share on other sites More sharing options...
web-port.pl Posted January 17, 2018 Share Posted January 17, 2018 <body> in header.tpl file Link to comment Share on other sites More sharing options...
shouman Posted July 24, 2018 Share Posted July 24, 2018 Probado en version prestashop 1.7.4. No funciona. Gracias por el aporte. Link to comment Share on other sites More sharing options...
Fck_Briansimo Posted June 21, 2019 Share Posted June 21, 2019 Bonjour, Tout d'abord un grand merci pour mettre à disposition votre module Prestashop. Je tente de créer un site pour mon commerce avec les maigres connaissances dont je dispose. J'ai installé le module dans Prestashop 1.6.1.24 avec les modifications recommandées et tout fonctionne parfaitement. En modifiant la var overlapWidth:0; dans mlpushmenu.js, on peut masquer complètement le menu quand on le referme. Avez-vous une idée pour implanter un bouton sur la page qui permettrait de le réouvrir ? Link to comment Share on other sites More sharing options...
derbi71 Posted October 24, 2023 Share Posted October 24, 2023 Bonjour, Désolé de déterrer le topic, mais quelqu'un aurait-il le zip de ce menu qui à l'air d'etre top ? Le lien ne fonctionne plus et le domaine angeldisc à l'air en vente. merci beaucoup ! 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