belwarg Posted January 25, 2013 Share Posted January 25, 2013 (edited) Hello! I have a problem with updating tpl files. I wanted to change links in blockcategories (so title will be title, not description). So I changed 2 files: - modules/blockcategories/category-tree-branch.tpl - themes/my_theme/category-tree-branch.tpl In both files line which generate link looks like this now <a href="{$node.link}" {if isset($currentCategoryId) && ($node.id == $currentCategoryId)}class="selected"{/if} title="{$node.name|escape:html:'UTF-8'}">{$node.name|escape:html:'UTF-8'}</a> After change uploaded files to ftp, turned off shop, cache, turned on "force compile", deleted files from 'cache' and 'compile' in tools/smarty. And still nothing changed on my site. It is not related to browser cache - checked on 4 browsers (+ private mode in each one) and also on second computer. tools/smarty/compile - empty tools/smarty/cache - empty "force compile" - on "cache" - off even changed in smarty.config.inc.php $smarty->caching = false; $smarty->force_compile = true; Any ideas how to fix that? Tried also with some others tpl files (like footer - added class to div etc.) and they won't work too. Using PrestaShop™ 1.4.4.1 Edited January 25, 2013 by belwarg (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 26, 2013 Share Posted January 26, 2013 Hi, There is a problem with the categories block's cache in 1.4 (didn't check it in 1.5). Try opening blockcategories.php and remove the statement where it gets the cached version. i know it might sound redundant, but that's what i found to be the most useful thing sometimes. Can't remeber exactly where it is, but it should be in the hookLeftColumn function, as an IF statement. Link to comment Share on other sites More sharing options...
ammarshadiq Posted April 19, 2013 Share Posted April 19, 2013 (edited) Hi belwarg, The files that you should edited are located at themes/my_theme/modules/blockcategories/category-tree-branch.tpl clear the cache and the compile folder, and refresh the page. works for me. Edited April 19, 2013 by ammarshadiq (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 You guys posted two solution to this case so i think that the problem is solved now. @belwarg Can you please inform us if everything works fine? regards 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