stef06 Posted January 11, 2012 Share Posted January 11, 2012 BONJOUR, comment greffer par exemple le bloc categorie dans le homepage content. sous prestashop 1.4 merci a tous en rouge la ligne que j'ai rajouter mais cela ne fonctionne pas public function install() { if (!parent::install() OR !$this->registerHook('leftColumn') OR !$this->registerHook('header') OR !$this->registerHook('home') OR // Temporary hooks. Do NOT hook any module on it. Some CRUD hook will replace them as soon as possible. !$this->registerHook('categoryAddition') OR !$this->registerHook('categoryUpdate') OR !$this->registerHook('categoryDeletion') OR !$this->registerHook('afterSaveAdminMeta') OR !Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', 3) OR !Configuration::updateValue('BLOCK_CATEG_DHTML', 1)) return false; return true; } Link to comment Share on other sites More sharing options...
Stéphane Chonez Posted January 11, 2012 Share Posted January 11, 2012 bonjour, non c'est pas ça... tjrs dans le fichier blockcategories.php reperez : public function hookRightColumn($params) { return $this->hookLeftColumn($params); } et ajoutez ça en dessous : public function hookHome($params) { return $this->hookLeftColumn($params); } 1 Link to comment Share on other sites More sharing options...
stef06 Posted January 16, 2012 Author Share Posted January 16, 2012 Merci vous été un vrais chef. j'au un autre petite question, existe t'il un module pour fiare comme sur ce site: http://www.anticstore.com/luminaires-1-C exmeple je passe sur mes produit quand il sont dans la product-list ou dans le module homefeature et ca me fait un zoom/ Merci d'avance Link to comment Share on other sites More sharing options...
New-Newbie Posted April 12, 2012 Share Posted April 12, 2012 Mille mercis pour cette info! 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