Article background:
Since dedecms cannot automatically generate tags, the tags generated by the TAG tag management in the background of the system actually copy the keywords and then insert the tags middle. So if we want to automatically generate a tag, we need to assign the value of keywords to the tag.
(Related recommendations: dede tutorial)
The specific method is as follows:
Modify the article_add.php file under the management directory (default is dede)
Find the following location
//生成HTML InsertTags($tags,$arcID);
Change to:
//生成HTML if( $tags=="" && $keywords!="") $tags = $keywords; InsertTags($tags,$arcID);
Save and upload.
The above is the detailed content of What is the method for dedecms to automatically generate tags?. For more information, please follow other related articles on the PHP Chinese website!