Jump to content

Greffer à un hook non positionné


Recommended Posts

Bonjour à tous,

 

Comme vous savez tous, prestashop dispose de à l'entours de 70 hooks

mais la majorité ne sont pas utilisés

 

Si on transplante un module dans un hook "non positionné", alors il ne s'affiche pas.

Pourtant dans l'onglet "positions" (Fichier joint) il est transplanté.

 

Je veux ajouter un module à right block de la page produit.

J'ai trouvé dans product.tpl qu'il y a ce hook déjà:

 

{if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if}

Mais il n'apparait pas dans la page produit.

 

 

post-233173-0-57332400-1342099050_thumb.png

 

C'est quoi le secret pour ces hook non positionné

Peux on greffer un module à n'importe quel hook existant?

Pourkoi certains ne permettenet pas d'afficher le module pourtant ils existent dans les pages .tpl?

 

Quelqu'un peux intervenir sur le sujet et nous éclairer?

Merci bien

 

---

Safwen MARZOUGUI

Ingénieur Développeur Web - Département d'innovation

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