1. 程式人生 > >DEDECMS改變欄目的關鍵詞和描述字數

DEDECMS改變欄目的關鍵詞和描述字數

1.改變欄目的關鍵詞和描述字數: 
在系統工具---SQL命令列工具---執行SQL命令列:
                     alter table dede_arctype change column description description text;
                     alter table dede_arctype change column keywords keywords text;
這樣幾個解決欄目的關鍵詞和描述字數的限制,你要多少字數就多少


2.改變文章內容的關鍵詞和描述字數:
同樣在,系統工具---SQL命令列工具---執行SQL命令列:
                     alter table dede_archives change column description description text;
                     alter table dede_archives change column keywords keywords text;

接下來修改dede 檔案下的 article_add.php 和 article_edit.php
$description = cn_substrR($description,500);
$keywords = cn_substrR($description,120);
其中紅色的就是你想要字元數,分別是描述和關鍵詞。