The example in this article describes how to modify the number of pages displayed on the dynamic list page of Empire cms7.0. Share it with everyone for your reference. The specific method is as follows:
By default, the number of empire's dynamic list pages is 16, which is not controlled by the parameters in the system settings. Here is how to control it.
First open the file e\action\ListInfo\index.php and find the code
The code is as follows:
$page_line=16;//每页显示链接数
The number inside is written as 16, so it is written to death Now, the number of pagination is not controlled by the system parameters.
It is recommended to study "Empire cms tutorial"
So just change the 16 here to the pagination of the system parameter Just the number of control variables
Now I checked and found that the system control variable is
The code is as follows:
$public_r['listpagelistnum']
So just change it to the following code :
The code is as follows:
$page_line=$public_r['listpagelistnum'];//每页显示链接数
Now you can try to change the number of pages in the combined item list, because it is also hard-coded, I believe you will have already modified it
I hope this article will be helpful to everyone’s Imperial CMS website building.
The above is the detailed content of How to modify the paging display number on the empire cms7.0 dynamic list page in one move. For more information, please follow other related articles on the PHP Chinese website!