织梦Dedecms使用拼音首字母做栏目名称的方法
1、85行 $toptypedir = GetPinyin(stripslashes($toptypename));
修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);
2、108 行 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));
修改为 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);
3、134行 $toptypedir = GetPinyin(stripslashes($toptypename));
修改为$toptypedir = GetPinyin(stripslashes($toptypename),1);
4、187行 $typedir = GetPinyin(stripslashes($typename));
修改为 $typedir = GetPinyin(stripslashes($typename),1);
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:173
阅读量:163
阅读量:41
阅读量:21
阅读量:194