Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The usage of dedecms linkage category

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of dedecms linkage category, the article is very detailed, has a certain reference value, interested friends must read it!

How to use the dedecms linkage category?

How to use the Picture and text of dedecms Linkage categories

Is designed to explain the term.

We can divide the linkage category into two categories: linkage and category.

Linkage can also be understood as connection and motion, connection is the meaning of relevance, and motion is the interpretation of dynamics.

Category, also known as menu, full name drop-down menu.

So, my final explanation for the linkage category is: multiple dynamically related drop-down menus

This is mainly used for personalized choices, such as birthdays and places of residence, as shown in figure 1:

Figure 1

2. Linkage category management

Enter the background, click * * Core * *-> * * Channel Model * *-> * * Linkage Category Management * * to enter the management interface of linked categories.

Figure 2

Figure 2

3. Create a linkage category

1) in addition to the linkage categories that come with the system, we can also create our own linkage category groups. The method is:

After entering the linkage category management page, click "add Category Group", as shown in figure 3:

2) after you have created a linked category group, you usually need to establish menu elements. In the dream weaving system, it is called subclassification. The method is to first switch to the category group you need to create, such as

3) add the category name, and click "add category", as shown in the figure

Figure 5

Note: the name of the category is the menu you want to display, which can be in Chinese.

4) if we need to modify and update the subcategory, we can also edit your subcategory information in the subcategory list below.

Figure 6

After editing, click "Update".

4. Linkage category maintenance

The linkage category uses caching technology. So, every time we update the information about the linkage category, we need to update its cache.

Figure 7.

4. Linkage category application

The reason why there is no linkage type in the data type is that the relevant options are commented out in the official template file, which can be modified as follows:

Two files need to be modified

First: line 127of dede/templets/diy_field_edit.htm officially commented out the sentence "linkage type" and uncommented it.

Second: line 146of dede/templets/diy_field_add.htm officially annotated the sentence "linkage type" and uncommented it.

After changing it, it will be saved to ok!

Of course, when you add fields in a custom form, the data type must be selected as "linkage type" and the field name must be the name corresponding to the linkage type.

The above are all the contents of the usage of the dedecms linkage category, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report