Get the App
SLTechnology News&Howtos  ›  Development  › 

How to implement dedecms's article list page with a line every five lines

Shulou Source: shulou.com Published: 2022-06-02 15:17:58 10月03日 Update

This article introduces the knowledge about "how to add a line every 5 lines to the article list page of dedecms". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

The first:

Here class="itjs", if the itjs class is defined, it is the interlaced color effect implemented.

{dede:arclisttypeid='888′titlelen='80′row='20′}

·[field:titlefunction="cn_substr(@me,48)"/]

[field:globalname=autoindexrunphp="yes"]if(@me==0)@me="

";

else@me="";

[/field:global]

{/dede:arclist}

How to add a line every 5 lines to the article list page of dedecms

That is, every five lines plus a horizontal line, 20 lists plus three lines is not four, the last one generally does not need to add a separator, if you want to add a separator at the end, remove it.

{dede:arclisttypeid='88′titlelen='80′row='20′}

[field:title/]

[field:globalname=autoindexrunphp="yes"](@me%5==0)?@ me="":@me="";[/field:global]{/dede:arclist}

"How to achieve dedecms article list page every 5 lines plus a line" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Tags: Articles plus one content that is more knowledge plus points practical successful learning and then no need difficulties reality situation effects cases horizontal lines ribbons websites industries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MySQL OPPO Reno Linux MariaDB