Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the [field:global name=autoindex/] tag

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to use the [field:global name=autoindex/] tag, which has certain reference value. Friends who need it can refer to it. I hope you all have a lot to gain after reading this article. Let's take a look at it together.

[field:global name=autoindex/] How to use the tag?

[field:global name=autoindex/]

Recommended Learning: Weaving Dreams CMS

Sometimes we need to add a number to the list in dede:list or dede:arclist. In this case, we need to use the "[field:global.autoindex/]" tag, which can be automatically numbered.

After adding, the serial number will automatically increase, starting from 1 by default.

But sometimes we don't need to start with 1, like 2, so we need to write:

[field:global name=autoindex runphp="yes"]@me=@me+1;[/field:global]

Instead, if you want it to start at 0, use this code:

[field:global name=autoindex runphp="yes"]@me=@me-1;[/field:global] Thank you for reading this article carefully. I hope that Xiaobian will share the content of the use method of the [field:global name=autoindex/] tag to help everyone. At the same time, I hope that everyone will support it a lot. Pay attention to the industry information channel. Find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report