dede修改摘要標題項目字數限制,DEDE技術
導讀:DEDE技術DEDE技術修改相關文件:①修改程序文件dede/archives_add.php/archives_edit.php/article_add.php/article_eddede模板免費夢織模板。
修改相關文件: ①修改程序文件 dede /archives_dede模板下載add.php /archives_edit.php /article_add.php /article_edit.php ————————- 如果修改專題摘要,還得修改: /spec_add.php /spec_edit.php ————————-
查找以下代碼: $title= cn_substrR($title,$cfg_title_m織夢模板免費axlen); $shorttitle = cn_substrR($shorttitle,36)織夢模板安裝;//簡略標題字符數 $color = cn_substrR($color,7); $writer = cn_substrR($writer,20);//作者字符數 $source = cn_substrR($source,30);//文章來源字符數 $description = cn_substrR($description,600);//摘要字符數 $keywords = trim(cn_substrR($keywords,30));//關鍵詞字符數 $filename = trim(cn_substrR($filename,40));//文件名字符數 if(!TestPurview(‘a_Check,a_AccCheck,a_MyCheck’)) 找到 $description = cn_substrR($description,600); 修改紅色數字為想要顯示的摘要字符數
②修改數據表 打開數據表,找到相關數據表,查找: description字段,將其中數值改為想要的字符數。
============================================ 此方法還可以修改其他顯示字符的數值 注意綠色部分及說明。 不再贅述。
相關dede模板免費夢織模板。聲明: 本文由我的SEOUC技術文章主頁發布于:2023-07-22 ,文章dede修改摘要標題項目字數限制,DEDE技術主要講述標題,字數,DEDE技術網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_33706.html