Home CMS Tutorial DEDECMS How to use the Dreamweaver tag code Channel tag

How to use the Dreamweaver tag code Channel tag

Nov 08, 2019 pm 02:23 PM
channel mark dream weaving

How to use the Dreamweaver tag code Channel tag

Tag name:

Channel

Function description:

Use To obtain the column list

Applicable scope:

Cover template, list template, document template

Basic syntax:

{dede:channel row='' type=''}
Copy after login

Custom style template (InnerText)

{/dede:channel}
Copy after login

Attribute description:

row='Number' indicates the bar for obtaining the record Number (generally used when there are too many columns at a certain level, the default is 8)

type = top,sun/son,self

type='top' indicates the top column

type='son' or 'sun' indicates subordinate columns

type='self' indicates same-level columns

Note: The last two attributes must be in the list template use.

Underlying template variables

ID,typename,typedir,typelink(仅表示栏目的网址)
Copy after login

Example:

{dede:channel type='top'}
<a href=&#39;[field:typelink /]&#39;>[field:typename/]</a>
{/dede:channel}
Copy after login

Note: in no When typeid is specified, the type tag is related to the environment of the template. For example, if the template is generated to column one, then type='son' means all subclasses of column one.

Recommended tutorial: dedecms tutorial

The above is the detailed content of How to use the Dreamweaver tag code Channel tag. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to mark minesweeper? -How to change the difficulty of Minesweeper? How to mark minesweeper? -How to change the difficulty of Minesweeper? Mar 18, 2024 pm 06:34 PM

How to mark minesweeper? First, we need to familiarize ourselves with the marking method in Minesweeper. Normally, there are two common marking methods in Minesweeper games: flag marking and question mark marking. The flag mark is used to indicate that there are mines in the block and is a deterministic mark; while the question mark mark indicates that there may be mines in the block, but it is not deterministic. These two marking methods play an important role in the game, helping players to infer which blocks may contain mines, so as to effectively proceed to the next step. Proficient use of these marking methods can improve the player's success rate in the minesweeper game and reduce the risk of stepping on mines. Therefore, when playing the minesweeper game, if the player has mastered the flag mark and question mark mark, when the player is not sure whether there is a mine in a certain square, he can use the question mark mark to mark it.

How to mark multiple locations on Baidu Maps How to mark multiple locations How to mark multiple locations on Baidu Maps How to mark multiple locations Mar 15, 2024 pm 04:28 PM

There are many functions above, especially for maps that can mark multiple places. When we know some places, we will definitely use some punctuation functions, so that we can bring you a variety of different aspects. Some of the functions you mark will produce distance differences, that is, you can know how far away they are. Of course, some names and detailed information of the above places will also be displayed. However, many netizens may not be familiar with some of the above. The content information is not very clear, so in order to allow everyone to make better choices in various aspects, today the editor will bring you some choices in various aspects, so friends who are interested in ideas, If you are also interested, come and give it a try. Standard

How to mark strikethrough text in HTML? How to mark strikethrough text in HTML? Aug 25, 2023 pm 10:45 PM

To mark strikethrough text in HTML, use the <strike>…</strike> tag. It will render a strikethrough text. This tag has been deprecated by HTML and should not be used in HTML5. As an alternative, you can use the CSS text-decoration property. To use CSS properties, use the style attribute. The style attribute specifies inline styles for the element. This attribute can be used with the HTML <p> tag. Keep in mind that HTML5 does not support the <strike> tag, so CSS styling should be used. Example you can try running the following

How to mark on Baidu map - specific operations of marking on Baidu map How to mark on Baidu map - specific operations of marking on Baidu map Mar 04, 2024 pm 08:46 PM

Are you also using Baidu map software on your computer? But do you know how to mark Baidu map? The following article brings you the specific operation of Baidu map mark. Let us take a look below. After entering the Baidu map, click on the upper right corner to select the region, as shown in the figure. After selecting the region, select the tool in the map, as shown in the figure. Select the mark in the map, as shown in the figure. Mark the map you want to mark. Here we use the front of Xicheng District, Beijing. Take No. 33 Qingchang Hutong as an example. Just select and save as shown in the picture.

How to import css in DreamWeaver How to import css in DreamWeaver Dec 03, 2020 pm 04:03 PM

How to import css into DreamWeaver: 1. Place the HTML template file in the "templets" folder; 2. Change the suffix of the HTML file to ".htm"; 3. Add "{dede:" in front of the original style path: global.cfg_templets_skin/}" can be used.

How to implement image tagging and annotation functions in Vue? How to implement image tagging and annotation functions in Vue? Aug 18, 2023 pm 04:54 PM

How to implement image tagging and annotation functions in Vue? When developing web pages or applications, we often need to mark and annotate images to better display and explain the image content. As a popular front-end framework, Vue provides a wealth of tools and components, which can easily implement image tagging and annotation functions. This article will introduce how to use Vue to implement image tagging and annotation functions, and provide relevant code examples. Preparation Before you begin, there are some preparations that need to be made. First, we need to create a Vue item

What does channel mean in Go language? What does channel mean in Go language? Dec 14, 2023 pm 02:21 PM

Channel in Go language is a mechanism for communication and data synchronization between coroutines. Can be thought of as a special data type, similar to a queue or pipe, used to transfer data between different coroutines. Channel provides two main operations: send and receive. Both send and receive operations in a channel are blocking, which means that if no sender or receiver is ready, the operation will be blocked until a coroutine is ready to perform the corresponding operation, etc.

How does golang function communicate with goroutine through channel? How does golang function communicate with goroutine through channel? May 01, 2024 pm 09:42 PM

Go language uses channels and goroutines to communicate. After creating the channel, the goroutine can pass

See all articles