dedecms 栏目目录用首字母生成的方法

dedecms 栏目目录用首字母生成的方法,第1张

dedecms栏目目录用首字母生成的方法

本文详细介绍了dedecms列文件目录由首字母构成的方式,盆友一定要参考。

修改dede/catalog.add.php文件

85行$toptypedir=getpinyin(stripes($toptypename));
修改为$toptypedir=getpinyin(stripes($toptypename),1);

108行$typedir=$toptypedir。'/'.getpinyin(strippelass($v));
修改为$typedir=$toptypedir。'/'.getpinyin(条纹($v),1);

134行$toptypedir=getpinyin(stripes($toptypename));
修改为$toptypedir=getpinyin(stripes($toptypename),1);

187行$typedir=getpinyin(stripes($typename));
修改为$typedir=getpinyin(stripes($typename),1);

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/773327.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-03
下一篇 2022-05-03

发表评论

登录后才能评论

评论列表(0条)

保存