ErkanMDR Posted January 27, 2015 Share Posted January 27, 2015 Hi How i can CMS Block's title? Thanks Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2015 Share Posted January 27, 2015 open: /themes/default-bootstrap/modules/blockcms.tpl change: <p class="title_block"> <a href="{$cms_title.category_link|escape:'html':'UTF-8'}"> {if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if} </a> </p> to: <p class="title_block"> {if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if} </p> Link to comment Share on other sites More sharing options...
ErkanMDR Posted January 27, 2015 Author Share Posted January 27, 2015 I tried. did not work I disable the cache Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2015 Share Posted January 27, 2015 strange what file you modified? do you use some additional custom block cms modules? Link to comment Share on other sites More sharing options...
ErkanMDR Posted January 27, 2015 Author Share Posted January 27, 2015 I'm edited: /themes/default-bootstrap/modules/blockcms/blockcms.tpl No, i dont use additional any module. I'am using PresteShop 1.6.0.11 and default-bootstrap theme. Link to comment Share on other sites More sharing options...
ajaxthemestudios Posted January 27, 2015 Share Posted January 27, 2015 Hi Vekia is right - it is strange. Maybe you should try and force recompilation too. That can be done too the under performance menu in the backoffice. Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2015 Share Posted January 27, 2015 yess, definitely: 1) clear shop cache 2) turn off cache 3) turn on force compile then refresh your front office perhaps you use some page cache modules to optimize shop performance? Link to comment Share on other sites More sharing options...
ErkanMDR Posted January 27, 2015 Author Share Posted January 27, 2015 I tried it all, but it does not work. I cant use any 3rd party module. Maybe i can editing the wrong file? ( /themes/default-bootstrap/modules/blockcms/blockcms.tpl) Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2015 Share Posted January 27, 2015 if you use default bootstrap theme - you edit correct one. Link to comment Share on other sites More sharing options...
ErkanMDR Posted January 27, 2015 Author Share Posted January 27, 2015 Very strange. I tried deleting the blockcms.tpl and the site was still running perfect. I tried in a new browser. But same. Link to comment Share on other sites More sharing options...
ajaxthemestudios Posted January 27, 2015 Share Posted January 27, 2015 That is interesting. I think if you just delete the blockcms.tpl in the theme folder, Prestashop will use the one in the root module's folder. If I were you, I will backup blockcms.tpl inside ( /themes/default-bootstrap/modules/blockcms/blockcms.tpl) and delete all the codes inside it. I will then refresh my website. If the module still display properly instead of being blank. Then I will be sure that I was editing the wrong file. Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2015 Share Posted January 27, 2015 Very strange. I tried deleting the blockcms.tpl and the site was still running perfect. I tried in a new browser. But same. it's a case of cache, definitely you're on cloud? (prestashop cloud) ? 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