dede标题栏目如何设置按字母首字母命名
发布时间:2026-11-29 03:54:50

下面来说下dede标题栏目按字母首字母命名的母命名方法(fa)。

dede标题栏目如何设置按字母首字母命名

打开dede/catalog.add.php文件,标题找到85行:

dede标题栏目如何设置按字母首字母命名

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

dede标题栏目如何设置按字母首字母命名

修改为(wei):

$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);

转载:非常欢迎各位(wei)朋友分享到个人站长或者朋友圈,但转载(zai)请说明文章出(chu)处“黎青松SEO博客”。何设

置按字母

原文地址:http://www.alitaohuo.com/CMSjiaocheng/zhimengjiaocheng/1921.html

置按字母