cyberpunk Posted March 23, 2014 Share Posted March 23, 2014 Hello I'm new to PrestaShop and have just started to digg into the prestashop files and try to get a grip of the structure.I'm having problem with contact information showing up. This is the code in blockcontactsinfo.tpl : <!-- MODULE Block contact infos --> <section class="block blockcontactinfos span3"> <h4><a href="{$link->getPageLink('contact', true)}" title="{l s='Mina ordrar' mod='blockcontactinfos'}" rel="nofollow"><b>{l s='Kontakt' mod='blockcontactinfos'}{*<i class="icon-plus-sign"></i>*}</b></h4> <ul class="toggle_content"> {if $blockcontactinfos_company != ''}<li class="contact_company"><strong>{$blockcontactinfos_company|escape:'htmlall':'UTF-8'}</strong></li>{/if} {if $blockcontactinfos_address != ''}<li class="contact_address">{$blockcontactinfos_address|escape:'htmlall':'UTF-8'}</li>{/if} {if $blockcontactinfos_phone != ''}<li class="contact_tel">{l s='Tel:' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if} {if $blockcontactinfos_email != ''}<li class="contact_email">{l s='Email:' mod='blockcontactinfos'} {mailto address=$blockcontactinfos_email|escape:'htmlall':'UTF-8' encode="hex"}</li>{/if} </ul> </section> This is the result and you can see the configuration in back office next to it. What am I doing wrong? Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 You are probably editing modules/blockcontactinfos/blockcontactinfos.tpl file but you have to modify themes/<theme>/modules/blockcontactinfos/blockcontactinfos.tpl file instead. Link to comment Share on other sites More sharing options...
Sérgio Martins Posted March 24, 2014 Share Posted March 24, 2014 I have the same problem, in back office fill everiting and after save reload the page and everiting is empty Link to comment Share on other sites More sharing options...
Chrysby Posted April 7, 2014 Share Posted April 7, 2014 I have the same problem, in back office fill everiting and after save reload the page and everiting is empty Hello I'm new to PrestaShop and have just started to digg into the prestashop files and try to get a grip of the structure. I'm having problem with contact information showing up. This is the code in blockcontactsinfo.tpl : <!-- MODULE Block contact infos --> <section class="block blockcontactinfos span3"> <h4><a href="{$link->getPageLink('contact', true)}" title="{l s='Mina ordrar' mod='blockcontactinfos'}" rel="nofollow"><b>{l s='Kontakt' mod='blockcontactinfos'}{*<i class="icon-plus-sign"></i>*}</b></h4> <ul class="toggle_content"> {if $blockcontactinfos_company != ''}<li class="contact_company"><strong>{$blockcontactinfos_company|escape:'htmlall':'UTF-8'}</strong></li>{/if} {if $blockcontactinfos_address != ''}<li class="contact_address">{$blockcontactinfos_address|escape:'htmlall':'UTF-8'}</li>{/if} {if $blockcontactinfos_phone != ''}<li class="contact_tel">{l s='Tel:' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if} {if $blockcontactinfos_email != ''}<li class="contact_email">{l s='Email:' mod='blockcontactinfos'} {mailto address=$blockcontactinfos_email|escape:'htmlall':'UTF-8' encode="hex"}</li>{/if} </ul> </section> This is the result and you can see the configuration in back office next to it. What am I doing wrong? Try to reinitialize the module just using the reset from the drop down menu. Hope it will help! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now