Jump to content

(resolu)bloc contact


Recommended Posts

bonjour, c'est quoi la commande pour changer la fonction mailto en remplacent par un lien direct page contact de mon site, je l'ai mis en rouge ci-dessous, merci

 

{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2013 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

<div id="contact_block" class="block">
    <p class="title_block">{l s='Contact us' mod='blockcontact'}</p>
    <div class="block_content clearfix">
            <p>{l s='Our hotline is available 24/7' mod='blockcontact'}</p>
            {if $telnumber != ''}<p class="tel"><span class="label">{l s='Phone:' mod='blockcontact'}</span>{$telnumber|escape:'htmlall':'UTF-8'}</p>{/if}
            {if $email != ''}<a href="mailto:{$email|escape:'htmlall':'UTF-8'}">{l s='Contact our hotline' mod='blockcontact'}</a>{/if}
    </div>
</div>
 

Edited by eldio (see edit history)
Link to comment
Share on other sites

Bonsoir,

 

Voila bonne continuation... ;)

<div id="contact_block" class="block">
    <p class="title_block">{l s='Contact us' mod='blockcontact'}</p>
    <div class="block_content clearfix">
            <p>{l s='Our hotline is available 24/7' mod='blockcontact'}</p>
            {if $telnumber != ''}<p class="tel"><span class="label">{l s='Phone:' mod='blockcontact'}</span>{$telnumber|escape:'htmlall':'UTF-8'}</p>{/if}
           <a href="{$base_dir}contact-form.php" title="{l s='Contact our hotline' mod='blockcontact'}">{l s='Contact our hotline' mod='blockcontact'}</a>
    </div>
</div>
Edited by AgostiniJulien (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...