dedecms 栏目目录用首字母生成的方法
dedecms 栏目目录用首字母生成的方法
发布时间:2016-12-26 来源:查字典编辑
摘要:修改dede/catalog.add.php文件85行$toptypedir=GetPinyin(stripslashes($toptype...

修改dede/catalog.add.php文件

85行 $toptypedir = GetPinyin(stripslashes($toptypename));

修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);

108 行 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));

修改为 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);

134行 $toptypedir = GetPinyin(stripslashes($toptypename));

修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);

187行 $typedir = GetPinyin(stripslashes($typename));

修改为 $typedir = GetPinyin(stripslashes($typename),1);

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新dedecms学习
热门dedecms学习
CMS教程子分类