{/dede:channel}
------Solution--------------------
{dede:channel type= ' top ' typeid= ' 1,3,7 ' row= ' 6 '}
For a total of three IDs, you have to take 6 lines!!!!!!
------Solution--------------------
Direct this {dede:channel typeid= ' 1,3,7 '}
[field:typename/]
{/dede:channel}
------Solution--------------------
"Channel Mark"
Function Description: Used to get the column list
Scope of application: Cover page template, list template, document template
(1) Basic grammar
{dede:channel row= ' type= '}
Custom style templates (InnerText)
{/dede:channel}
(2) Properties
[1] row= ' number ' indicates the number of entries to get the record (common use when there are too many columns in a certain level, default is 8)
[2] type = Top,sun/son,self
Type= ' top ' denotes top column
Type= ' son ' or ' sun ' indicates a subordinate column
Type= ' self ' indicates a peer column
The latter two properties must be used in the list template.
(3) Underlying template variable
Id,typename,typedir,typelink (only the URL of the column)
Cases:
{dede:channel type= ' top '}
[field:typename/]
{/dede:channel}
Note: In the absence of a specified typeid, the type tag is related to the environment of the template, for example, when the template is generated to column one, then Type= ' son ' represents all subclasses of column one
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service