Can limit number of characters in the name of the wallpaper in the index?
Wallpaper Script Forum » Announcements
limit number of characters in the name
(7 posts)-
Posted 2 years ago #
-
go to your template folder > item.tpl > find 'truncate' word in end of 3rd line > change its default value 32 to any number you required (28 is optimum)
Posted 2 years ago # -
The idea is to add the last "..." to provide continuity (25 charcters + ...)
Posted 2 years ago # -
I change this line {$items[item].name|escape:'html':'UTF-8'|truncate:32} the number 32 for any number and i dont see any change.
Posted 2 years ago # -
Hi,
You need to clear cache before you see any changes.
Posted 2 years ago # -
how to get the dots (...) there??
thx!
Posted 2 years ago # -
If u ve tried this technique, dots will be automatically there after truncation to specified characters.
Posted 2 years ago #
Reply
You must log in to post.



