Open: inc_channel_unit_functions.php and add it to the following section // zouql // $ f total list // $ t number of lists in each group functionMyList ($ f, $ t, $ meid, $ con) {if ($ meid % $ t0 $ meid $ f) return $ con;} example: ul {dede: arclistrow20titlele open: inc_channel_unit_functions.php
Add the following section
// Zouql
// $ F total number of lists
// $ T number of lists per group
Function MyList ($ f, $ t, $ meid, $ con)
{
If ($ meid % $ t = 0 & $ meid <$ f)
Return $ con;
}
Example:
{Dede: arclist row = 20 titlelen = 80 orderby = pubdate}
- [Field: textlink/]
[Field: global name = autoindex function = 'mylist ("20", "5", @ me ," ") '/]
{/Dede: arclist}
The preceding example contains two usage methods:
[Field: global name = autoindexfunction = 'mylist ("20", "2", @ me, "class = \" color \ "") '/]
And
[Field: global name = autoindex function = 'mylist ("20", "5", @ me ," ") '/] The first one. if you define the relevant css, it is the color of the line.
Second, if you define the relevant css, it is to add a horizontal line to every five rows, 20 lists plus 3 lines not 4, and the last one is not added
Remove & amp; $ meid & amp; $ f.