DEDECMS Global Label fieldlist| variable list

Source: Internet
Author: User
Keywords Dedecms fieldlist global label variable list

Fieldlist| variable List

Label name: FieldList
Feature Description: A list of variables that represent getting documents
Scope of application: content template article_*.htm only
Basic syntax:
{Dede:fieldlist}
[field:http://www.aliyun.com/zixun/aggregation/11696.html ">name/]: [field:value/] <br>
{/dede:fieldlist}
Related functions:
File \include\arc.archives.class.php Line No. 579
else if ($ctag->getname () = = ' FieldList ')
Usages:
This tag is typically used in the default content page template, after we customize the content model, if the content page does not specify a template, the following occurs:

This is the system does not find the appropriate template in the Model Management, and then the default to the default template, which shows the effect, we can view the default template page \templets\default\article_default.htm, at 130 lines at the following:
{dede:fieldlist}
<table width= "100%" border= "0" cellpadding= "1" cellspacing= "1" bgcolor= "#BED1AB"
<tr>
<td width= "23%" height= "align=" "Center" bgcolor= "#FBFEF5"
<b>[field:name/]</b > Content:
<br/>
Template invocation token:
<br/>
<script language= ' JavaScript ' >document.write ("{+" Dede:field. [field:tagname/]/"+"}); </script>
</td>
<td width= "77%" bgcolor= "#FFFFFF" > [field:value/] </td>
</tr>
</table>
{/dede:fieldlist}

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.