1. Click "Core-channel model-Free List Management" and click "add list" on the right"
2. List Style
Select the options you need. The system is very clear and I will not talk about them much. The key here is the loop content here.
3. Open the list_free.htm file in the template directory and add the Free List tag.
Add to the position in the article list
Reference content is as follows:
{Dede: freelist /}
The body does not need to be recycled.
Note: The above code calls all the style code we wrote in step 1.
Add the paging code below
Reference content is as follows:
{Dede: pagelist listitem = "info, index, end, pre, next, pageno" listsize = "5 "/}
4. Generate the home page.
Generated in the Free List
5. Handling of some minor problems
1. At this step, you will find some small and elegant problems (The default homepage is automatically selected for each update.), But this is not acceptable for our webmaster who pursues perfection,
So let's continue: Open Dede \ templets \ freelist_add.htm to locate row 113-114 and change value = "1" to value = "0 ". Open Dede \ templets \ freelist_edit.htm and find line 89-90. Change value = "1" to value = "0 ". In this way, "do not use the default home page of directories" will never be checked by yourself.
2. It seems that there is still a problem: Why is the thumbnail of the article list so small? Too bad! Open the include \ arc. freelist. Class. php file, find lines 421 and 422, change 80 to 120, or save the size you want, and then regenerate the list.
Dedecms uses Free List to implement homepage list pagination