Jump to content

greffer un module


stef06

Recommended Posts

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

  • 2 months later...

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...