How to call the subcolumns of the current column by dedecms
This article will explain in detail how to use the sub-column of the current column about dedecms. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
How does dedecms call the sub-columns of the current column?
Dedecms must be no stranger to everyone. It can be regarded as an article-like CMS system that is widely used in China. In the process of using it, we may need to call the sub-columns of the current column, so how should we operate it? let's share two methods.
Recommended study: dream weaving cms
Method 1: you can call the sub-column of the current column.
Function description: sub-column call tag
Scope of application: global use
Basic syntax:
The code is as follows:
{dede:sonchannel} [field:typename/] {/ dede:sonchannel}
Parameter description:
Row = '100' number of returns
Col ='1' default single column display
Nosonmsg =''does not specify the content of the information displayed in the ID subcolumn
Method 2: call the sub-column of the current column
Function description: sub-column call tag
Scope of application: global use
Basic syntax:
The code is as follows:
{dede:channel type='son' noself='yes'} [field:typename/] {/ dede:channel}
Call at will:
The code is as follows:
{dede:channel type='son' typeid=' column ID' noself='yes'} [field:typename/] {/ dede:channel} this is the end of the sub-column on how to use dedecms to call the current column. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.