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)