Sito Lab Posted August 6, 2013 Share Posted August 6, 2013 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 photo 2: As soon as I log in you can see that it narrows the contact form 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 More sharing options...
vekia Posted August 6, 2013 Share Posted August 6, 2013 this isn't default theme. i suppose that the problem is with customer block it will be much easier to debug it if you will show the code of the module .tpl file (both contact block and customer block) Link to comment Share on other sites More sharing options...
Sito Lab Posted August 6, 2013 Author Share Posted August 6, 2013 (edited) is this is the default theme 1.5.4.1 ps I am that I'm changing the theme to my liking, as I understand it I have to enter here tpl files the contact block and the block contact info Edited August 6, 2013 by lui1969 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 6, 2013 Share Posted August 6, 2013 default template looks like: http://demo-store.prestashop.com/ - your theme from this example (and from others) looks like a theme with huge modifications and yes, you have to paste here contents of the .tpl files, then we will be able to check code (in other thread you said that your website isn't online) Link to comment Share on other sites More sharing options...
Sito Lab Posted August 6, 2013 Author Share Posted August 6, 2013 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 More sharing options...
vekia Posted August 6, 2013 Share Posted August 6, 2013 have you got module name my account block? + what ps version you use? Link to comment Share on other sites More sharing options...
Sito Lab Posted August 6, 2013 Author Share Posted August 6, 2013 forgive me, but my English is bad, I speak well (almost :-)) only in Italian, I did not understand what you're asking, I use ps 1.5.4.1 default module modified by me Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 6, 2013 Share Posted August 6, 2013 Hai Nome modulo bloccato il mio conto? e Che versione prestashop si usa ? Link to comment Share on other sites More sharing options...
vekia Posted August 6, 2013 Share Posted August 6, 2013 Hai Nome modulo bloccato il mio conto? e Che versione prestashop si usa ? Jitenx, we are in english section so if it is possible - please write only in english here thanks in advance Link to comment Share on other sites More sharing options...
Sito Lab Posted August 6, 2013 Author Share Posted August 6, 2013 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 More sharing options...
Sito Lab Posted August 6, 2013 Author Share Posted August 6, 2013 Vekia my site online http://prestashoprova.wesped.es/iopistoia/ Link to comment Share on other sites More sharing options...
vekia Posted August 6, 2013 Share Posted August 6, 2013 wow! thanks for upload by default contact block looks like: you removed severa things there, right? what you exactly expect? you want to put these items back, or what? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 blockcontact.css line 2 change padding to padding: 58px 0px 15px; and contact_block p change padding to line 7 padding:0px 53px 15px 59px Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 Thanks Jiten rash but does not change much, even trying to change the padding. Vekia you, I want to come back as the original, but with my colors Link to comment Share on other sites More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 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 More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 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 More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 thanks for your information i just wondering why it doesnt work as you expect. what gone wrong? some errors or what? sorry to bother you, but im curious in this case Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 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 More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 Tuscany ... ahhhh the most beautiful part of Italy If you will have any questions - feel free to write, our community will definitely try help Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 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 More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 hello this is how it looks like: what you expect? you want to move it somewhere? more space between blocks? Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 (edited) move the block a little more to the right Edited August 7, 2013 by lui1969 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 create in the module css file style like this #social { text-align:center; } file: /modules/socialnetworklinks/css/socialnetworklinks.css Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 you're a legend, I'll never stop to thank you, your help and this wonderful community is very valuable works great Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 ur english is fine now ... 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 More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 hello Jiten Rash, I did as he said Vekia, but do not solve nothing stays the same, now I install it so I can show you how it really is, take a look http://prestashoprova.wesped.es/iopistoia/ Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 this will solve the issue 100% #contact_block .block_content { padding: 10px 0px 47px; background: url("images/block_contact_bg.jpg") no-repeat scroll left 7px transparent; } #contact_block p { padding: 12px 5px 15px 65px; Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 perfect, Jiten Rash, is solved, but now it no longer contains the email looks as well Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 u want to have email? add email and see if gets error then u can put it on the image it has some space Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 whats wrong with that header Link to comment Share on other sites More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 hmm i don't see any contact block there :| Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 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 More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 it was there may be uninstalled Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 7, 2013 Share Posted August 7, 2013 u hooked that module on header too?/on header u shud have an nice image..with a lady with headphone and text..by editing header.tpl Link to comment Share on other sites More sharing options...
Sito Lab Posted August 7, 2013 Author Share Posted August 7, 2013 ok Link to comment Share on other sites More sharing options...
Recommended Posts