| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adjusting the number of characters shown in Bestsellers | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Adjusting the number of characters shown in Bestsellers
Just wondering,
Does anyone know if there is there a way to limit the number of characters shown bestselling item area of my front page so the links don't word wrap? Thanks for your help in advance.
__________________
DeAnna Ross http://madhatterrgames.com [v.4.1.8] Fashion Template http://www.hortonstores.com [v.4.1.12] Fashion Mosaic Skin http://teststore.hortonstores.com [v.4.2.2] Fashion Mosaic Skin TEST STORE - NOT FOR ACTUAL SHOPPING! |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Adjusting the number of characters shown in Bestsellers
Yes, you can use smarty's 'truncate' modifier ...
See http://smarty.php.net/manual/en/language.modifier.truncate.php Some examples there to show you how it works. Hope this helps. Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Adjusting the number of characters shown in Bestsellers
I was pretty nervous to mess with smarty stuff but truth be told that was pretty easy. I just went into the modules/Bestsellers/ and open the menu.tpl which was there... added the text off the page you suggested (adjusted to my liking) and BOOM... instant fix.
Thanks for the point in the right direction.
__________________
DeAnna Ross http://madhatterrgames.com [v.4.1.8] Fashion Template http://www.hortonstores.com [v.4.1.12] Fashion Mosaic Skin http://teststore.hortonstores.com [v.4.2.2] Fashion Mosaic Skin TEST STORE - NOT FOR ACTUAL SHOPPING! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|