larsson68 Posted December 4, 2014 Share Posted December 4, 2014 Hi! I'm newbie here at Prestashop and have som problem with the editing of my page. I can't really figure out how to edit the top bar and would really appreciate some help! I would like to insert some text and visa and mastercardpics to the left of "kontakta oss" and logga in" on the top of my page: http://strumpbudet.se Can someone please help me? Thank you! Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 it is come from module or any other way? Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 I think "Kontakta oss" and "logga in" are modules but the rest i dont know. How can i see that? Thanks Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 it's look like it is come from blockuserinfo module...go to themes->your theme->modules->blockuserinfo->blockuserinfo.tpl...& find for a "Kontakta oss" in file...& then add anything you want....!!!! If it works than don't get forget to inform..!!! Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 my blockuserinfo.tpl are empty .. hmm then i have currency block, language selector block and contact block on my top. But i dont use currency block and language selector. Maybe its no module there? Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 have you look at "themes->your theme->modules->blockuserinfo->blockuserinfo.tpl " this path for sure???because blockuserinfo module is installed on your store.. Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 yes, but under blockuserinfo.tpl i have Nav.tpl maybe in there? I have look there too but i cant find "contact us" there. I want to the grey field left on "kontakta oss" . I cant see any modules there. hmmm Thanks for your help Darshan i appreciates it =) Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 check in theme's blocklanguage module or blocksearch module... Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 What should i looking for? <!-- Block languages module --> {if count($languages) > 1} <div id="languages-block-top" class="languages-block"> {foreach from=$languages key=k item=language name="languages"} {if $language.iso_code == $lang_iso} <div class="current"> <span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span> </div> {/if} {/foreach} <ul id="first-languages" class="languages-block_ul toogle_content"> {foreach from=$languages key=k item=language name="languages"} <li {if $language.iso_code == $lang_iso}class="selected"{/if}> {if $language.iso_code != $lang_iso} {assign var=indice_lang value=$language.id_lang} {if isset($lang_rewrite_urls.$indice_lang)} <a href="{$lang_rewrite_urls.$indice_lang|escape:'html':'UTF-8'}" title="{$language.name}"> {else} <a href="{$link->getLanguageLink($language.id_lang)|escape:'html':'UTF-8'}" title="{$language.name}"> {/if} {/if} <span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span> {if $language.iso_code != $lang_iso} </a> {/if} </li> {/foreach} </ul> </div> {/if} Thanks again =) Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 look in these 2 files if there is a "kontakta oss"... Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 aha i found it under blockcontactinfo.tpl thanks Darshan. Do you know how to put an image there? i have my number there now if you see? Now i want the visa and mastercard log. <!-- MODULE Block contact infos --> <section id="block_contact_infos" class="footer-block col-xs-12 col-sm-4"> <div> <h4>{l s='Store Information' mod='blockcontactinfos'}</h4> <ul class="toggle-footer"> {if $blockcontactinfos_company != ''} <li> <i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'html':'UTF-8'}{/if} </li> {/if} {if $blockcontactinfos_phone != ''} <li> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontactinfos'} <span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span> </li> {/if} Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 "call us now" are in the top on the site now. in swedish "ring oss nu". I want the log there. hmm Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 aha, it was the footer... Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 <section id="block_contact_infos" class="footer-block col-xs-12 col-sm-4"> <div> <h4>{l s='Store Information' mod='blockcontactinfos'}</h4> <ul class="toggle-footer"> {if $blockcontactinfos_company != ''} <li> <i class="icon-map-marker"></i>{$blockcontactinfos_company|escape:'html':'UTF-8'}{if $blockcontactinfos_address != ''}, {$blockcontactinfos_address|escape:'html':'UTF-8'}{/if} </li> {/if} <li><img src="{$imgs_dir}visa.png" alt="Visa" title="Visa"/></li> <li><img src="{$imgs_dir}mastercard.png" alt="Mastercard" title="Mastercard"/></li> {if $blockcontactinfos_phone != ''} <li> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontactinfos'} <span>{$blockcontactinfos_phone|escape:'html':'UTF-8'}</span> </li> {/if} Before putting this code you must have two images i.e."visa.png" & "mastercard.png" in your theme's image directory.. 1 Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 Blockcontact.tpl <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:'html':'UTF-8'} </p> {/if} {if $email != ''} <a href="mailto:{$email|escape:'html':'UTF-8'}" title="{l s='Contact our expert support team!' mod='blockcontact'}"> {l s='Contact our expert support team!' mod='blockcontact'} </a> {/if} </div> </div> Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 I have it in my footer now. Maybe i should insert it in blockcontact.tpl ? Link to comment Share on other sites More sharing options...
darshan soni Posted December 4, 2014 Share Posted December 4, 2014 no....in blockcontactinfo.tpl file... Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 I did like you told me, look now in my footer. I have it there now. It should be in top too like icon-phone. Link to comment Share on other sites More sharing options...
larsson68 Posted December 4, 2014 Author Share Posted December 4, 2014 No one who have the answer to get visa and mastercard logos in the top of my site and some text too? www.Strumpbudet.se Link to comment Share on other sites More sharing options...
larsson68 Posted December 5, 2014 Author Share Posted December 5, 2014 I fix it with a bannerblock in the top of my site. strumpbudet.se Hope this can help anyone with same problem. 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