dedecms 欄目目錄用首字母生成的方法
來源:易賢網 閱讀:947 次 日期:2014-09-24 11:08:44
溫馨提示:易賢網小編為您整理了“dedecms 欄目目錄用首字母生成的方法”,方便廣大網友查閱!

修改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);

更多信息請查看IT技術專欄

更多信息請查看CMS教程
由于各方面情況的不斷調整與變化,易賢網提供的所有考試信息和咨詢回復僅供參考,敬請考生以權威部門公布的正式信息和咨詢?yōu)闇剩?/div>
相關閱讀CMS教程
關于我們 | 聯系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權所有:易賢網