dedecmsHow to call the sub-column of the current column?
dedecms must be familiar to everyone. It is an article CMS system that is widely used in China. During use, we may need to call the sub-column of the current column, so how should we operate it? , let’s share 2 methods
Recommended learning:梦Weavercms
Method 1: You can call the sub-column of the current column.
Function description: sub-column call tag
Applicable scope: global use
Basic syntax:
The code is as follows:
{dede:sonchannel} <a href='[field:typeurl/]'>[field:typename/]</a> {/dede:sonchannel}
Parameters Description:
row ='100' Return number
col = '1' Default single column display
nosonmsg = '' No information content displayed in the ID sub-column is specified
Method 2: Call the sub-column of the current column
Function description: Sub-column calling tag
Applicable scope: global use
Basic syntax:
The code is as follows:
{dede:channel type='son' noself='yes'} <li><a href="[field:typelink/]">[field:typename/]</a></li> {/dede:channel}
Call at will:
The code is as follows:
{dede:channel type='son' typeid=‘栏目ID’ noself='yes'} <li><a href="[field:typelink/]">[field:typename/]</a></li> {/dede:channel}
The above is the detailed content of How does dedecms call the sub-column of the current column?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools