attosoft Posted January 11, 2013 Share Posted January 11, 2013 Hello. Does anybody know how to change the title block at the frontend, in PrestaShop 1.5? (the latest versions). From the translation admin area does not work. I've check force recompile option, but no changes.. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2013 Share Posted January 11, 2013 it's a categories block module. You must open modules/blockcategories directory and open the blockcategories.tpl file you can find out there code like i post below: <!-- Block categories module --> <div id="categories_block_left" class="block"> <h4 class="title_block">{l s='Categories' mod='blockcategories'}</h4> <div class="block_content"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/foreach} </ul> {* Javascript moved here to fix bug #PSCFI-151 *} <script type="text/javascript"> // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> </script> </div> </div> <!-- /Block categories module --> you must edit this line: <h4 class="title_block">{l s='Categories' mod='blockcategories'}</h4> Carefully edit s='Categories' value. that's all in some cases you must have force compilation turned to on to see any changes in tpl files. Here's the tutorial about turning FC to on: How to turn force compilation to on in prestashop hope it helps you Link to comment Share on other sites More sharing options...
attosoft Posted January 11, 2013 Author Share Posted January 11, 2013 I don't want to modify the code, becouse later there's maybe some errors, when i'll change the language. Maybe you have miss something... Go to admin section > Localization > Translations and select Translate installed modules.. then expand all (from a language.. english, romanian.. etc.) Good luck, mister.. Take care Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2013 Share Posted January 11, 2013 Why? You can always override this tpl file by your template btw. can I mark this topic as solved? Link to comment Share on other sites More sharing options...
attosoft Posted January 11, 2013 Author Share Posted January 11, 2013 you can... but better not change the code, since many things can change from administrator section. ps. yes, you can close this topic. Link to comment Share on other sites More sharing options...
totallighting.sk Posted January 31, 2017 Share Posted January 31, 2017 Great, it works... 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