Jump to content

change the "contact hotline" from mail to contact-us


Recommended Posts

Hi,

 

It can be done by editing the tpl files for each module. By looking at your image, I'm pretty sure you have to do these two modifications. I have written the file path, the line you should look for and what to replace it with:

 

 

/themes/your_theme_name/modules/blockcontact/blockcontact.tpl

In this file, replace

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

with

<a href="{$link->getPageLink('contact', true)|escape:'html'}">{l s='Contact our expert support team!' mod='blockcontact'}</a>



/themes/your_theme_name/modules/blockcontactinfos/blockcontactinfos.tpl

In this file, replace

 

{if $blockcontactinfos_email != ''}<li>{l s='Email:' mod='blockcontactinfos'} {mailto address=$blockcontactinfos_email|escape:'htmlall':'UTF-8' encode="hex"}</li>{/if}

with

<li><a href="{$link->getPageLink('contact', true)|escape:'html'}">{l s='Contact us here' mod='blockcontactinfos'}</a></li>
Edited by Carlsen (see edit history)
  • Like 1
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...