Home > Article > CMS Tutorial > How to add serial numbers to DEDECMS article list
How to add serial numbers to the article list of DEDECMS?
Add serial numbers to the DEDECMS article list (using autoindex)
Recommended study: 梦Weavercms
Sometimes we are To make a template, you need to add a serial number in front of the article title. This can be achieved through the autoindex attribute that comes with DreamWeaver. The implementation method is very simple. You only need to add this code where the serial number is increasing.
[field:global runphp='yes' name=autoindex][/field:global]
The complete code is as follows:
The above is the detailed content of How to add serial numbers to DEDECMS article list. For more information, please follow other related articles on the PHP Chinese website!