欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來到入門教程網(wǎng)!

dedecms

當(dāng)前位置:主頁 > CMS教程 > dedecms >

dedecms中修改摘要字?jǐn)?shù)長度的方法介紹

來源:本站原創(chuàng)|時間:2021-08-05|欄目:dedecms|點擊: 次

dedecms中修改摘要字?jǐn)?shù)長度的方法介紹
 
 
本文介紹下,修改dedecms系統(tǒng)中摘要字?jǐn)?shù)長度的方法,希望對大家有所幫助。
1,首先,修改表: dede_archives  字段 description  varchar(600);
2,進(jìn)入后臺,找到  系統(tǒng)-->系統(tǒng)基本參數(shù)-->  其它選項 自動摘要長度(0-250,0表示不啟用):600
3,測試,如果有問題需要分別修改
     ①修改措施文件
  dede
  /archives_add.php
  /archives_edit.php
  /article_add.php
  /article_edit.php
 
查找代碼:
 
<span style="font-family: 'courier new', courier; font-size: 13px;">$title= cn_substrR($title,$cfg_title_maxlen); 
    $shorttitle= cn_substrR($shorttitle,36);//大略標(biāo)題字符數(shù)
   $color = cn_substrR($color,7);
   $writer= cn_substrR($writer,20);//作者字符數(shù)
   $source= cn_substrR($source,30);//文章來歷字符數(shù)
   $description= cn_substrR($description,250);//摘要字符數(shù)
   $keywords= trim(cn_substrR($keywords,30));//要害詞字符數(shù)
   $filename = trim(cn_substrR($filename,40));//文件名字符數(shù)
   if(!TestPurview('a_Check,a_AccCheck,a_MyCheck'))
</span>
找到
 
$description = cn_substrR($description,250);
 
修改數(shù)字為想要顯示的摘要字符數(shù)
 
如果需要修改產(chǎn)品文件的文檔摘要,則修改:
    dede
    /product_add.php
    /product_edit.php
找到
 
<span style="font-family: 'courier new', courier; font-size: 13px;">$description = cn_substrR($description,250);
</span>
 
修改cn_substrR中的數(shù)字為想要顯示的摘要字符數(shù)即可。
以上就是本節(jié)dedecms教程的全部內(nèi)容了,希望可以幫助到大家。
 

上一篇:dedecms欄目列表頁文章標(biāo)題設(shè)置推薦后加粗的取消方法

欄    目:dedecms

下一篇:dedecms怎么實現(xiàn)文章標(biāo)題-欄目名稱-網(wǎng)站名導(dǎo)航

本文標(biāo)題:dedecms中修改摘要字?jǐn)?shù)長度的方法介紹

本文地址:http://mengdiqiu.com.cn/a1/dedecms/14174.html

更多dedecms

您可能感興趣的文章

閱讀排行

本欄相關(guān)

隨機(jī)閱讀

網(wǎng)頁制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語言數(shù)據(jù)庫服務(wù)器

如果侵犯了您的權(quán)利,請與我們聯(lián)系,我們將在24小時內(nèi)進(jìn)行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負(fù)任何責(zé)任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有