How to add custom attributes to DeDeCMS?
Because I want to add a section with original content of this site on the homepage of the website. There is no way to call it through the section ID. It is very troublesome to add a sub-column to each original article.
Recommended Study: 梦Weavercms
I checked the method online and wrote it here. For safety reasons, there is no need to add it directly with the command. It is best to back up before writing. Database.
First enter phpmyadmin, find the structure of dede_archives, click the structure, select flag, click the small pen icon in the background to modify.
We add a mark z as the mark of the original content.
Next step, find the structure of dede_arcatt, click "Insert" to add a piece of data
This is OK
Let’s see the effect.
The above is the detailed content of How to add custom attributes in DeDeCMS. For more information, please follow other related articles on the PHP Chinese website!