d22009 Posted February 3, 2013 Share Posted February 3, 2013 i would like to add my fax number to the contact block in footer but there is not a option for this in the module how could i do this ? thanks Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 which version of prestashop you use? does module configuration works for you? Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 (edited) hi vika i need the fax number on the footer contact info were the address is but theres no option for it i BO blockcontactinfos module Edited February 3, 2013 by d22009 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 can you provide url or take a screenshot of place where you want to add fax number? you're using default template? Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 pm incoming Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 did you get it ? Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 yup, im checking it Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 thanks Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 go to modules and search for block contact infos module and edit it like below: to delete / change "tel" you must go to the modules/blockcontactinfo/blockcontactinfo.tpl and remove /change "{l s='Tel:' mod='blockcontactinfos'}" from : {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} Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 Messaged you sorry i didnt explain clearley i would like my telephone number and fax number to display Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 i writed how to ADD fax number - not how to replace numbers, just read my post and check image that i attached Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 its accepting the cod change Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 its accepting the cod change hmm what? problem solved? Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 Nope Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 step by step: FIRST METHOD 1) go to modules and configure block contact info module 2) add phone right after address like I showed here: http://i.imgur.com/5Tw3mkn.png 3) in field with phone number enter your FAX number 4) go to the modules/blockcontactinfo/blockcontactinfo.tpl and replace Tel: with Fax: in "{l s='Tel:' mod='blockcontactinfos'}" SECOND METHOD 1) go to the modules/blockcontactinfo/blockcontactinfo.tpl and add <li>{l s='Fax:' mod='blockcontactinfos'} YOUR_FAX_NUMBER_HERE</li> right after: {if $blockcontactinfos_phone != ''}<li>{l s='Tel:' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if} in some cases you must turn force compile in your shop. read how to turn on force compile in prestashop if you don't know how to do that. After all remember to turn it off. Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 done methord 2 still no changers Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 are you sure? you've got fax number, you need to change position by replacing it in .tpl file Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 thats the old one sorry not deleted it yet Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 deletd Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 have you got force compilation turned on? what exactly you do and where you delete this fax number? Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 Foce Compile is on i have copied option 2 to the letter and the fax number i deleted was written in the address box Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 <!-- 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} <li>{l s='Fax:' mod='blockcontactinfos'} 08435 24 10 69</li> {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 February 3, 2013 Share Posted February 3, 2013 lol it's weirdy, take a look how your code looks in my demo shop: as you see it works exactly as you want... so, maybe try to clear cache in your prestashop? Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 maybe your theme override it - did you checked themes/your_template/modules/blockcontactinfo/blockcontactinfo.tpl file ? Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 What The :S i deleted smarty and cache and no update this is strange Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 What The :S i deleted smarty and cache and no update this is strange check template directories as i mentioned above Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 maybe your theme override it - did you checked themes/your_template/modules/blockcontactinfo/blockcontactinfo.tpl file ? just as you thought done thankyou Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2013 Share Posted February 3, 2013 uhh! finally! i marked this topic as solved yeah! Link to comment Share on other sites More sharing options...
d22009 Posted February 3, 2013 Author Share Posted February 3, 2013 yes thankyou Link to comment Share on other sites More sharing options...
Recommended Posts