In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the method of weaving dreams to call custom fields. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Dream weaving DedeCMS custom field adds an additional table. To call the contents of the additional table, the explanation document given by the Dream Weaving official website says:
To get the contents of an additional table, two conditions must be met:
1. Specify the channelid attribute, that is, channelid=' content model id'
2. Specify the field to be obtained, that is, addfields=' field 1, field 2'
Such as the following calling code:
{dede:arclist addfields= "filetype,language,softtype" channelid='3'} [field:textlink /]-[field:softtype /] {/ dede:arclist}
Through this example, it is very difficult to understand, and it is easy to understand after the following explanation.
{dede:arclist addfields=' additional field 1, additional field 2, additional field 3 'channelid=' content model id number'} [field:textlink /]-[field: additional field 1 /]-[field: additional field 2 /]-[field: additional field 3 /] {/ dede:arclist}
This makes it easy to call custom fields of articles from lists anywhere on the site.
Thank you for reading! The method of weaving dreams to call custom fields is shared here. I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.