Jump to content

Problem contact form


Recommended Posts

sorry for my bad English, then I have a problem with the contact form, attach photos to make you better see my problem

 

Photo 1: Before a user that logs in is all ok as you can see

 

contatti%2520ok.JPG

 

 

photo 2: As soon as I log in you can see that it narrows the contact form

 

contatti%2520no.JPG

 

 

 

mine is the default theme prestashop version 1.5.4.1

my site is under construction with xampp is offline

 

Thanks to all for your help

Link to comment
Share on other sites

Block Contact tpl

{*

* 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">

<h4 class="title_block">{l s='Contact us' mod='blockcontact'}</h4>

<div class="block_content clearfix">

<p>{l s='Our support 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 expert support team!' mod='blockcontact'}</a>{/if}

</div>

</div>

 

 

Block Contact Info

 

 

{*

* 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

*}

 

<!-- MODULE Block contact infos -->

<div id="block_contact_infos">

<h4 class="title_block">{l s='Contact us' mod='blockcontactinfos'}</h4>

<ul>

{if $blockcontactinfos_company != ''}<li><strong>{$blockcontactinfos_company|escape:'htmlall':'UTF-8'}</strong></li>{/if}

{if $blockcontactinfos_address != ''}<li><pre>{$blockcontactinfos_address|escape:'htmlall':'UTF-8'}</pre></li>{/if}

{if $blockcontactinfos_phone != ''}<li>{l s='Tel' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if}

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

</ul>

</div>

<!-- /MODULE Block contact infos -->

Link to comment
Share on other sites

the module is not locked, I also reset everything several times but nothing is always the same, I also tried uninstalling and reinstalling the module but the problem does not change, it is always the same

 

I've always changes before making copies of originals, and then I installed the original copies, but the problem is always the same

 

thanks Jiten rash

 

thanks Vekia

Link to comment
Share on other sites

open blockcontact.tpl file and use this code there:

<div id="contact_block" class="block">
<h4 class="title_block">{l s='Contact us' mod='blockcontact'}</h4>
<div class="block_content clearfix">
  <p>{l s='Our support 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 expert support team!' mod='blockcontact'}</a>{/if}
</div>
</div>

 

make sure that you use correct file (sometimes blockcontact.tpl file is located in the theme/yourtheme/modules/blockcontact/ direcotry - if this file exist - make changes there)

Link to comment
Share on other sites

This module makes me crazy, I prefer to disable it, I'll probably changed more and this creates a malfunction, invent one for now I disable it, then we'll see

 

thank you all for your help, a community unique

 

Now I devote myself to create the home page a different color for "header" I have to do it in 2 colors

Link to comment
Share on other sites

Vekia, you do not disturb anything ^_^ , because thanks to you and this wonderful forum and the information available, I try to learn something, I'm not an expert in css but reading and trying I try to understand the operation, unfortunately in Italy there is no work, and at age 43 believe me it is very difficult for me, so I try to invent a job to sell products of the land where I live Tuscany, but I have to prepare a suitable website, and unfortunately I do not have money to buy a good one.

 

However, to be able to invent something for this module, we'll see. For now I must find a way to put a different color that takes all "Header" of the page

Link to comment
Share on other sites

then, I realized by inserting the logo along with the phone number, so it can fit the same, so I put solved.

 

Vekia if you read this post you can check the free module that I have installed? your so to speak "social network links" I would hit with "best sellers".

 

thanks

Link to comment
Share on other sites

ur english is fine now ...:D but y did u remove that module ? open block contact .tpl from themes/default then paste wat vekia has posted

<div id="contact_block" class="block">

<h4 class="title_block">{l s='Contact us' mod='blockcontact'}</h4>

<div class="block_content clearfix">

<p>{l s='Our support 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 expert support team!' mod='blockcontact'}</a>{/if}

</div>

</div>

Link to comment
Share on other sites

I had to turn off, because the form could be seen even in the header, so I'll leave it as it is not nice to leave the site but might be fine for me, thank you all very warmly for all the answers to my questions, you show patience, you have a big heart

 

thanks

Link to comment
Share on other sites

×
×
  • Create New...