Home  >  Article  >  CMS Tutorial  >  How to add custom attributes in DeDeCMS

How to add custom attributes in DeDeCMS

藏色散人
藏色散人Original
2019-12-11 10:01:431655browse

How to add custom attributes in DeDeCMS

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.

How to add custom attributes in DeDeCMS

Next step, find the structure of dede_arcatt, click "Insert" to add a piece of data

How to add custom attributes in DeDeCMS

This is OK

Let’s see the effect.

How to add custom attributes in DeDeCMS

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn