DEDECMS Global label arclistsg| standalone single table model list

Source: Internet
Author: User
Keywords DEDECMS model list ARCLISTSG global label standalone sheet

Arclistsg| Standalone single table model list

Label name: ARCLISTSG
Feature Description: Document list invocation tag for a single table standalone model
Scope of application: global use
Basic syntax:
{dede:arclistsg&http://www.aliyun.com/zixun/aggregation/37954.html ' >nbsp; flag= ' h ' typeid= ' row= ' col= ' titlelen= ' orderway= ' keyword= ' limit= ' 0,1 '}
<a href= ' [field:arcurl/] ' >[field:title/]</a>
{/DEDE:ARCLISTSG}
Related functions:
File \include\taglib\arclistsg.lib.php Line 2nd
Function LIB_ARCLISTSG (& $ctag,& $REFOBJ)
Parameter description: col= ' "The number of columns displayed (default is a single column), the 5.3 version of this property is invalid, to display more than the available DIV implementation
row= ' 10 ' returns the total number of document lists
typeid= ' column ID, in the list template and file template generally do not need to specify, in the cover template allows "," separate multiple columns;
Titlelen = ' 30 ' heading length equals titlelength
orderwey= ' desc ' or ' ASC ' sort direction
Keyword= contains a list of documents with the specified keyword, with "," points for multiple keywords
innertext = "[field:title/]" single record style (InnerText is the code placed between tags)
Arcid= ' Specifies the document ID
Idlist = ' Extract specific document (document ID)
Channelid = ' Channel ID
Limit= ' Start, end indicates limited record range (e.g. limit= ' 1,2 ')
Flag = ' h ' custom attribute value: Headline [h] recommended [c] picture [p] slide [f] scroll [s] jump [j] graphic [a] bold [b]
Subday= ' days ' indicate documents within days

Underlying template fields:

IDS (same ID), typeID, channel, Arcrank, Mid, click, Title, Senddate, Flag, litpic (same as Picname), Userip, Lastpost, scores, Goodpost, Badpost, Textlink
Usages:
This tag is used to invoke the content of the Tanku model, the concept of a single table model has been added to the V5.3 system, which is divorced from the 6184.html "> Data Table association Structure of the former master-slave table, and we choose whether it is a single table model or a master-slave table model when adding content model
We can enter the system background [core]-[content Model Management], view the system's existing content model, in the system default environment, only the classification information is Tanku model, general add a single table model, the model ID number is less than-1, that is, the classification information Model ID number is 8.

When using this label, the method is roughly the same as arclist, and we'll invoke the contents of the classified information by using the following label contents:
{DEDE:ARCLISTSG channelid= '-8 ' limit= ' 0,2 '}
<a href= ' [field:arcurl/] ' >[field:title/]</a> <br/>
{/DEDE:ARCLISTSG}
This tag is called the content of the classification information, from the ID of 0 to call 2 records, in the system background of the global label Test show the following:

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.