Jump to content

{Résolu} Modif bloc contact dans footer


Recommended Posts

Bonjour

 

Je souhaite modifier le bloc contact dans le footer. Je voudrais que à la place de l'e-mail, que le client soit rediriger sur la page du formulaire de contact.

 

Comment Faire ?

 

Merci d'avance

Edited by Le-cathare (see edit history)
Link to comment
Share on other sites

Il vous suffit d'aller modifier dans \themes\VOTRETHEME\modules\blockcontact\blockcontact.tpl (si il n'existe pas, alors modifier directement le blockcontact.tpl de \module\blockcontact\blockcontact.tpl).

Et de remplacer :

{if $email != ''}<a href="mailto:{$email|escape:'htmlall':'UTF-8'}">{l s='Contact our hotline' mod='blockcontact'}</a>{/if}

Par

<a href="/contactez-nous">{l s='Contact our hotline' mod='blockcontact'}</a>

Bien sur, vous adaptez avec l'URL de votre page contact.

 

Edit : il est possible que je confonde avec le module blockcontactinfos, je ne sais plus lequel est appelé dans le footer. Mais dans l'idée, ca sera la même modif grosso modo. Donc à tester ! :)

Edited by Szed (see edit history)
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...