织梦的栏目命名取字母首字母的方法
dedestudy.cn/' target='_blank'>织梦的栏目命名---取字母的首字母
修改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);
- 上一篇:DEDE取消发表文章时去掉验证码
- 下一篇:dede轻松实现本月本周本日点击排行