织梦dede栏目的首字母作为栏目名称
发布时间:01/12 来源:未知 浏览:
关键词:
打开dede/catalog.add.php文件
寻到$toptypedir = GetPinyin(stripslashes($toptypename));
修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);
寻到$typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));
修改为 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);
寻到$toptypedir = GetPinyin(stripslashes($toptypename));
修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);
寻到$typedir = GetPinyin(stripslashes($typename));
修改为 $typedir = GetPinyin(stripslashes($typename),1);
这样就可以了,然后更新一下就可以看到结果了。