Kill lui lei Dog---CMS---14-dedecms (example of movie net 8-take out the latest four movies)

Source: Internet
Author: User

Take out the latest four movies and what's going to be done is the red box part

(It is generally more practical to decide how many to take out)

The label used is:{dede:arclist}, whether to remove data from the attached table,

{dede:arclist channeled= "4" row= "addfields=" YUYAN,PFZ "/}

{/dede:arclist}

Use the following code: The following results are output:

Here the class is originally from C1----C4, in the Dede double tag can use a field label [field:global.autoindex/], The label is a self-increasing label, This is similar to using the <?php echo + + $i?> code in loops.

Warm tip: Inside the Dede is not to appear nested, if you want to nest inside the tag, then the solution is:

Solution: Change the nested {dede} label to a field label. change {} to []; put Dede Change into Field

Such as:

That is: {dede:global.cfg_templets_skin/} changed to [field:global.cfg_templets_skin/]

Kill lui lei Dog---CMS---14-dedecms (example of movie net 8-take out the latest four movies)

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.