X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Lengthen the truncate inside admin when displaying product categories (https://forum.x-cart.com/showthread.php?t=43219)

sparrowdog 10-24-2008 03:46 PM

Lengthen the truncate inside admin when displaying product categories
 
When on page /admin/category_products.php?cat=22, I would like the product names to display a lot more characters than they currently do. They appear to be truncated at around 30 characters, but I need it extended a lot further than that.

Can anyone tell me which template this lives in?

balinor 10-24-2008 04:07 PM

Re: Lengthen the truncate inside admin when displaying product categories
 
Isn't that annoying? :)

main/products.tpl, replace this:

{$products[prod].product|truncate:35:"...":false}

wtih this:

{$products[prod].product}

Moving to Template Editing

sparrowdog 10-24-2008 04:29 PM

Re: Lengthen the truncate inside admin when displaying product categories
 
Fantastic. Thank you :)


All times are GMT -8. The time now is 09:04 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.