Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to generate tag automatically by dedecms

Shulou Source: shulou.com Published: 2022-06-02 00:17:36 10月03日 Update

This article is about how dedecms automatically generates tag. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Background of the article:

Because Zhimeng dedecms cannot automatically generate tag, the tag generated by the TAG tag management in the background of the system actually copies the keywords and then inserts it into the tag. So if we want to generate tag automatically, we need to assign the value of keywords to tag.

The specific methods are as follows:

Modify the article_add.php file under the management directory (default is dede)

Find the following location

/ / generate HTML InsertTags ($tags,$arcID)

Modified to:

/ / generate HTML if ($tags== "& & $keywordswords =") $tags= $keywords;InsertTags ($tags,$arcID)

Just save the upload.

Thank you for reading! This is the end of the article on "how dedecms automatically generates tag". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Tags: Generate automatically generate content articles more tags articles management good practical location methods background actual actually files methods directories see knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Microsoft Xiaomi Docker Linux