Home > CMS Tutorial > DEDECMS > body text

How to add custom attributes in DeDeCMS

藏色散人
Release: 2019-12-11 10:01:43
Original
1677 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!