Get the App
SLTechnology News&Howtos  ›  Servers  › 

Using the Dream Weaving tag list to call the method of custom fields with additional fields

Shulou Source: shulou.com Published: 2022-06-01 07:46:21 09月28日 Update

This article mainly introduces "the method of using dream weaving tag list to call custom field additional field". In daily operation, it is believed that many people have doubts about the method of using dream weaving tag list to call custom field additional field. Xiaobian consulted all kinds of materials and sorted out simple and useful operation methods. I hope it will be helpful for you to answer the question of "using the dream weaving tag list to call the method of attaching fields to custom fields"! Next, please follow the editor to study!

Number one: find / include/extend.func.php

Add at the bottom

Copy the contents to the clipboard

Function GetArcList ($id,$result) {

Global $dsql

$mnkj = $dsql- > GetOne ("SELECT * FROM `dede_ addon17` where aid='$id'")

$name=$mnkj [$result]

Return $name

}

As in the picture

Dede_addon17 is a model addition table to the tag output model

Step 2: find / include/arc.taglist.class.php

Search / / process some special fields

Add below

$row ["additional field"] = GetArcList ($row ["id"], "additional field")

As shown in the figure:

The call in taglist.htm is [field: additional fields /].

At this point, the study on "using the dream weaving tag list to invoke the method of attaching custom fields to fields" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Fields attachments methods learning more models such as figure help practical special next content clipboard that is bottom article theory knowledge article website Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB OPPO Reno Microsoft Shulou Technology macOS