Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report