roger_co Posted February 6, 2014 Share Posted February 6, 2014 Hello, I'm starting to work with prestashop version 1.5.6.2 , and need to make some changes in "tpl" files. , but no change has an effect on the front end. I have done the following (and still did not work): - "Advanced Settings> Performance." Mark "Force Compile" and Disable the cache; - Also: Mark "Never recompile template files" and then back to "Force Build"; - "Advanced Settings> Performance", click "Clear Cache and the intelligent automatic loading cache" - Clear browser cache; - Test in other browsers (firefox, IE, chrome); - I've used the "Clear Smarty" module to clear the cache Smarty, CSS and JS (http://catalogo-onlinersi.net/en/). Has anyone experienced this or have any other advice? Thank you, Roger Link to comment Share on other sites More sharing options...
vekia Posted February 7, 2014 Share Posted February 7, 2014 what .tpl file you changed? Link to comment Share on other sites More sharing options...
roger_co Posted February 7, 2014 Author Share Posted February 7, 2014 Hi Vekia, Among several changes in several blocks, I'm trying to change the module "social block", file "blocksocial.tpl". I'm changing the line From: {if $ facebook_url =''!} <li Class="facebook"> <a href="{$facebook_url|escape:html:'UTF-8'}"> {ls = 'Facebook' mod = 'blocksocial '} </ a> </ li> {/ if} To: {if $ facebook_url =''!} <li Class="facebook"> <a href="{$facebook_url|escape:html:'UTF-8'}" target="_blank"> {ls = 'Facebook 'mod =' blocksocial '} </ a> </ li> {/ if} But on the front end does not appear "target =" _blank "'. Link to comment Share on other sites More sharing options...
vekia Posted February 7, 2014 Share Posted February 7, 2014 make sure that you changing correct module file. if module template file is located also in theme directory - you have to edit this file, not original module template file. this is due to the override behaviour in prestashop 1 Link to comment Share on other sites More sharing options...
roger_co Posted February 7, 2014 Author Share Posted February 7, 2014 Vekia, I do not know how to thank you! I spent hours and days searching for a solution. The problem is solved, I was changing the file. Tpl from module folder, not from folder theme. I did a quick test and it worked! Thank you! hugs Link to comment Share on other sites More sharing options...
vekia Posted February 7, 2014 Share Posted February 7, 2014 you're welcome im so glad to hear that i could help you in this case it's worth to check official doc, always i marked whole topic as solved. with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts