dede添加(jia)栏目的标题时(shi)候,默认栏目名称是栏目拼音全称,对于一些名称很(hen)长的(de)何设此(ci)语全拼就会显得非常长,不仅难看,置按字母而(er)且对于优化来说是首字冗长。
下面来说下dede标题栏目按字母首字母命名的母命名方法(fa)。


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

修改为(wei):
$toptypedir = GetPinyin(stripslashes($toptypename),栏目1);
找打108行:
$typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));
修改为:
$typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);
找打134行:
修改为:
$toptypedir = GetPinyin(stripslashes($toptypename),1);
找打187行:
$typedir = GetPinyin(stripslashes($typename));
修改为:
$typedir = GetPinyin(stripslashes($typename),1);
转载:非常欢迎各位(wei)朋友分享到个人站长或者朋友圈,但转载(zai)请说明文章出(chu)处“黎青松SEO博客”。何设
置按字母