DEDECMS Global label channelartlist| channel document

Source: Internet
Author: User
Keywords Dedecms channelartli global label channel document

Channelartlist| Channel Document

Label name: Channelartlist
Tag Introduction:
Feature Description: Get content list label for subordinate column of current channel
Scope: Global use
Basic syntax:
{dede:channelartlist row=6}
<dl>
&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;<dt><a href= ' {dede: Field name= ' Typeurl '/} ' >{dede:field name= ' TypeName '/}</a></dt>
 <dd>
 {dede : Arclist titlelen= ' row= '}    <ul class= ' autod ' >
     <li> <a href= "[Field:arcurl/]" >[field:title/]</a></li>
      <li> ([Field:pubdate function= "mydate (' m-d ', @me)"/]) </li>
    </ul>
{/dede:arclist}
</dl>
{/dede:channelartlist}
Related functions:
file \include\taglib\channelartlist.lib.php line 6th
function Lib_channelartlist (& $ctag,& $REFOBJ)
Parameter description:
typeID = ' 0 ' Channel ID, multiple please use ', ' separate row = ' 20 ' to get the column return value other description: In addition to the macro tag, Channelartlist is the only token that can directly nest other tags, but is limited to nested {Dede:type}{/dede:type} and {Dede:arclist}{/dede:arclisT} two marks.
Underlying template variable:
contains all underlying template variables under {Dede:type}{/dede:type} and {dede:arclist}{/dede:arclist}. &NBSP
Using an instance:
This tag is a system of a few support nested tags, this tag is usually used in the home page (including the cover page), used to output a set of column content list, we can see the default template home

This part of the content is displayed through this tag, we can view the first page template \templets\default\index.htm120 line
{Dede:channelartlist}
<DL class= "Tbox" >
<dt><strong><a href= "{dede:field name= ' typeurl '/}" >{dede:field name= ' TypeName '/}</a></ Strong><span class= "More" ><a href= "{dede:field name= ' typeurl '/}" > More ... </a></span></ Dt>
<dd>
<ul class= "D1 Ico3" >
{dede:arclist titlelen= ' row= ' 8 '}
<li><span class= "Date" >[field:pubdate function= mydate (' m-d ', @me) "/]</span><a href=" [Field: Arcurl/] ">[field:title/]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
{/dede:channelartlist}

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.