jtbookworm Posted March 13, 2014 Share Posted March 13, 2014 (edited) Hello, I am trying to figure out how to increase the word count in the product title. I've attached a screenshot - currently each item displays only one or two words. What do I need to modify in order to have everything displayed? I went into blockviewed.tpl file and changed the number from 14 to 30 > {$viewedProduct->name|truncate:30:'...'|escape:html:'UTF-8'} No luck. Judy Edited March 13, 2014 by jtbookworm (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted March 13, 2014 Share Posted March 13, 2014 You need to do this in your templates folder > modules > blockviewed > blockviewed.tpl Link to comment Share on other sites More sharing options...
jtbookworm Posted March 13, 2014 Author Share Posted March 13, 2014 Hello Dioniz, That's exactly what I did. Twice. In the blockviewed.tpl file. But no change. Link to comment Share on other sites More sharing options...
dioniz Posted March 13, 2014 Share Posted March 13, 2014 In blockviewed.tpl in folder root > modules > blockviewed or in root > themes > yourtheme > modules > blockviewed ? Link to comment Share on other sites More sharing options...
jtbookworm Posted March 13, 2014 Author Share Posted March 13, 2014 it is root > themes > default > modules > blockviewed Link to comment Share on other sites More sharing options...
dioniz Posted March 13, 2014 Share Posted March 13, 2014 That's strange cause i just tried that on my shop and it works. Maybe you need to clear cache Link to comment Share on other sites More sharing options...
jtbookworm Posted March 13, 2014 Author Share Posted March 13, 2014 Okay so that path is correct, and changing number from 14 to 30 in here {$viewedProduct->name|truncate:30:'...'|escape:html:'UTF-8'} will feature the entire ( or more of) the title in this view products module? Will try again. Thanks! Link to comment Share on other sites More sharing options...
jtbookworm Posted March 13, 2014 Author Share Posted March 13, 2014 Tried it again. Smarty Cached as well. No change. Should I try the other route that you mentioned instead? In blockviewed.tpl in folder root > modules > blockviewed Link to comment Share on other sites More sharing options...
dioniz Posted March 13, 2014 Share Posted March 13, 2014 I don't think so, because themes files are overriding default ones Link to comment Share on other sites More sharing options...
dioniz Posted March 13, 2014 Share Posted March 13, 2014 can you send me a link so i can check how it looks on my side Link to comment Share on other sites More sharing options...
vekia Posted March 13, 2014 Share Posted March 13, 2014 go to adv. parameters > performance and turn of cache and turn on force compile (temporarily) (you said only about cache) Link to comment Share on other sites More sharing options...
jtbookworm Posted March 13, 2014 Author Share Posted March 13, 2014 (edited) Here is the link to the image >> http://www.exhart.net/html/shop/images/Capture.PNG Tried force compile according to vekia but no luck. Edited March 13, 2014 by jtbookworm (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 14, 2014 Share Posted March 14, 2014 your link doesnt work anymore Link to comment Share on other sites More sharing options...
jtbookworm Posted March 18, 2014 Author Share Posted March 18, 2014 Actually it is for trade only so you can only log in if you register an account. I will send you a user name. 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