Jump to content

OUR STORES on the front page. How do I change the title in the title bar?


greyso

Recommended Posts

Good morning

 

1. public_html/your store/modules/blockstore/blockstore.tpl

<!-- Block stores module -->
<div id="stores_block_left" class="block">
<h4 class="title_block"><a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Our store(s)!' mod='blockstore'}">{l s='Our store(s)!' mod='blockstore'}</a></h4>
<div class="block_content blockstore">
<p class="store_image"><a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Our store(s)!' mod='blockstore'}"><img src="{$module_dir}{$store_img}" alt="{l s='Our store(s)!' mod='blockstore'}" width="174" height="115" /></a></p>
<p>
<a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Our store(s)!' mod='blockstore'}">» {l s='Discover our store(s)!' mod='blockstore'}</a>
</p>
</div>
</div>
<!-- /Block stores module -->
 
2. Back office > modules > Modules > Front office features > Store locator block > configure
 
Paul
Link to comment
Share on other sites

Good morning and thank you.Paulito.  Unfortunately, when I go to the module "Store locator block,"  the only option it gives me is upload an image.  There is nothing else there.

 

So I went and tried to change the code as below:

 

<!-- Block stores module -->
<div id="stores_block_left" class="block">
    <h4 class="title_block"><a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='GenTech!' mod='blockstore'}">{l s='GenTech' mod='blockstore'}</a></h4>
    <div class="block_content blockstore">
        <p class="store_image"><a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='GenTech!' mod='blockstore'}"><img src="{$module_dir}{$store_img}" alt="{l s='GenTech!' mod='blockstore'}" width="174" height="115" /></a></p>
        <p>
            <a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='GenTech!' mod='blockstore'}">» {l s='Discover GenTech!' mod='blockstore'}</a>
        </p>
    </div>
</div>
<!-- /Block stores module -->

 ...and then saved it.  Went back to the home page, and nothing changed.

 

Am I doing something wrong?  I am using the default theme.

 

Thank you!

 

Dale

Link to comment
Share on other sites

1) localization > translations > installed modules translations - this is the proper way to translate module. you can change there "Our store(s)!" to any other text you want.

Vekia, Thank you.   I went to this page and selected "Installed Modules Translations" but I do not see anyplace to edit anything.  There is no "edit" button or anything.  Thank you.

 

Dale

Link to comment
Share on other sites

hello

 

localization > translations > installed modules translations (now you have to click on flag)

 

there is something like:

3KQqe1N.png

Vekia,   Thank you again. 

 

When I click on the flag, I get this message: 

"Warning! Your PHP configuration limits the maximum number of fields allowed in a form

1000 for max_input_vars.

Please ask your hosting provider to increase the this limit to 3324 at least or edit the translation file manually."

 

Do I make this change through my hosting or within prestashop?

 

Dale

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...