How to use limit in a dream (call the specified section under the specified ID)

Source: Internet
Author: User
A detailed description of the limit in the weaving dream (call the specified article under the specified ID)

The usage of limit is generally understood as: invokes the specified article under the specified ID.

Here is the code snippet, the friend you need to take it by yourself:

{dede:arclist typeid= ' 6 ' row= ' 1 ' limit= ' 0,1 '}<Li><ahref= "[field:arcurl/]"Target= "_blank"rel= "nofollow" >        <imgclass= "Zhuanjia_img"src="" />      
  a><H3><ahref= "[field:arcurl/]"Target= "_blank">[field:title/]
   a>
    H3>      <P><span>Brief introduction:
     span>[Field:description function= "Cn_substr (@me, 55)"/] ...<astyle= "color: #C2316C;"href= "[field:arourl/]">Details
      a>
       P><Divclass= "Z11"><Divclass= "Gz1"><ahref= "[field:arcurl/]"rel= "nofollow" >Detailed Introduction
        a>
         Div><Divclass= "GZ2"><ahref= "javascript:void (0)"onclick= "Openchat ()"Target= "_blank"rel= "nofollow" >Online Enquiry 
            a> 
             div> 
              div >  
                Li>{/dede:arclist}          

The above code called the ID 6 under the column 1 (starting from the first number, Fetch 1 article)

Limit is a flexible number tag that takes out the specified article.
limit= ' 0,1 ', which represents 1 articles starting from the first article.
Limit= ' A ', which means 1 articles starting from the second article.
limit= ' 2,3 ', which represents 3 articles starting from a third article.
And so on, the usage is somewhat similar to the row tag, but more flexible than row.
  • 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.