Get the App
SLTechnology News&Howtos  ›  Servers  › 

Dream-weaving tag channel implements the method that the list page calls the current column subclass

Shulou Source: shulou.com Published: 2022-06-02 05:06:18 10月06日 Update

This article shares with you the content of the method of invoking the current column subclass on the Dreamweaver label channel implementation list page. Xiao Bian thinks it is quite practical, so share it for everyone to make a reference. Let's follow the editor and have a look.

How does the list page call the subclass of the current column?

Dream weaving label channel implementation list page calls the subclass of the current column

This article mainly introduces the dream weaving label channel list page to call the current column of subclasses, friends need to refer to the following

The code is as follows:

{dede:channel type='son' row='10' currentstyle="~typename~"} [field:typename/] {/dede:channel}

Simplified to--->>>

The code is as follows:

{dede:channel type='son' row='10'} [field:typename/] {/dede:channel}

Analysis:

Tag name: channel

Tag introduction: dream weaving common tags, usually used at the top of the site to obtain site column information, convenient site members classified browsing the entire station information

Function Description: Used to obtain column list

Scope of application: global use

Basic grammar:

The code is as follows:

{dede:channel type='top' row='8' currentstyle="~typename~ "} [field:typename/] {/dede:channel}

Parameter Description:

typeid = '0' Column ID

reid = '0' Parent Column ID

row = '100' Number of columns called

col = '1' How many columns are displayed (default is single column)

type = 'son |sun' son indicates subordinate column,self indicates peer column,top top column

currentstyle =''Apply style

Bottom Template Fields:

ID(same as id),typeid, typeink, typename, typeurl,typedir(only indicates the URL of the column)

Example:

The code is as follows:

{dede:channel type='top'} [field:typename/] {/dede:channel}

Note: If typeid is not specified, the type tag is related to the environment of the template. For example, if the template is generated to column 1, then type='son' indicates all subclasses of column 1.

Thank you for reading! About Dream Weaving label channel implementation list page Call the current column subclass method to share here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge. If you think the article is good, you can share it so that more people can see it!

Tags: Columns subcategories tags codes tags templates methods information content more articles websites references related good practical superiors subordinates members overall Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MySQL OPPO Reno Redmi Huawei