Channel tag of dede {dede: channeltypetoptyperow6currenthover & gt; & lt; ahref ~ Typelink ~ & Gt ;~ Typename ~ & Lt; a & gt; & lt; li & gt; & quot;} about the channel tag of dede
{Dede: channel type = 'top' typeid = '1, 3,7' row = '6' currentstyle ="
~ Typename ~"}
[Field: typename/]
{/Dede: channel}
Why does typeid not work? To solve this problem, I only want the typeid of the top-level topic. I am using 5.6. Thank you !!!
------ Solution --------------------
{Dede: channel type = 'top' typeid = '1, 3,7' row = '6'} currentstyle ="
~ Typename ~"
[Field: typename/]
{/Dede: channel}
------ Solution --------------------
{Dede: channel type = 'top' typeid = '1, 3,7' row = '6 '}
There are three IDs in total. you need to get six more !!!!!!
------ Solution --------------------
Directly {dede: channel typeid = '1, 3, 7 '}
[Field: typename/]
{/Dede: channel}
------ Solution --------------------
[Channel tag]
Function description: used to obtain the column list
Applicability: cover templates, list templates, and document templates
(1) Basic syntax
{Dede: channel row = ''type = ''}
Custom style template (InnerText)
{/Dede: channel}
(2) attributes
[1] row = 'number' indicates the number of records to be retrieved (generally used when there are too many columns at a certain level, the default value is 8)
[2] type = top, sun/son, self
Type = 'top' indicates top-level columns
Type = 'son' or 'sun' indicates a subtopic
Type = 'self 'indicates the same level column
The last two attributes must be used in the list template.
(3) underlying Template variables
ID, typename, typedir, typelink (only the URL of the topic)
Example:
{Dede: channel type = 'top '}
[Field: typename/]
{/Dede: channel}
Note: If no typeid is specified, the type tag is related to the template environment. for example, if the template is generated to column 1, type = 'son' indicates all subclasses of column 1.
Http://www.dedecms.com/archives/templethelp/help/taghelp.htm