广州传奇网络
地址:广州市天河区东圃大马路富华楼C座
电话:13808825895
QQ:1564443073
方法一
找到 cls_template.php 搜索truncate
case “truncate”:
$p = 'sub_str(' . $p . ",$s[1],$s[2])";
break;
然后在你的后台清除一下缓存
{$goods.goods_name|truncate:10:false}
就只显示5个字 也不会出现...
方法二
直接干掉lib_base.php中的下面代码
if ($append && $str != $newstr)
{
$newstr .=“...";
}