schel4ok Posted February 20, 2011 Share Posted February 20, 2011 I can't change template of viewed products module in presta 1.4.0.13.I don't like that in this module rpoduct name is truncated to 14 symbols. So I copied blockviewed.tpl to themes\mytheme\modules\blockviewedand replace {$viewedProduct->name|truncate:14:'...'|escape:html:'UTF-8'} with {$viewedProduct->name|escape:html:'UTF-8'} but nothing changed. After that I also tried to edit original tpl file, but module looks like it was originally.What was wrong? Link to comment Share on other sites More sharing options...
Radu Posted February 20, 2011 Share Posted February 20, 2011 make sure in config/smarty.config.inc.php you have $smarty->force_compile = true; Link to comment Share on other sites More sharing options...
schel4ok Posted February 20, 2011 Author Share Posted February 20, 2011 no I have $smarty->force_compile = (bool)Configuration::get('PS_SMARTY_FORCE_COMPILE');then I look in sql Table: ps_configuration > PS_SMARTY_FORCE_COMPILE = 0 Link to comment Share on other sites More sharing options...
Radu Posted February 20, 2011 Share Posted February 20, 2011 ok, you have the newer version of presta. so just look in admin to enable it or just change in the database directly Link to comment Share on other sites More sharing options...
schel4ok Posted February 20, 2011 Author Share Posted February 20, 2011 I changed in databasewhere is it in Admin? I couldn't find. Link to comment Share on other sites More sharing options...
Radu Posted February 20, 2011 Share Posted February 20, 2011 it's in preferences->performance smarty->force compile variable Link to comment Share on other sites More sharing options...
mowax Posted February 3, 2012 Share Posted February 3, 2012 Hi schel4ok, Did you find a solution to this problem? I'm also trying to increase the character limit by this method but it does not have an effect. Thanks! 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