您的位置 首页 php

迅睿CMS 同时存在多个分页标签的写法

需求:在同一个页面可能同时存在多个分页时(本教程需要4.3.15及以上版本使用)

例如, 此页面是首页 ,那么下一页的分页规则就是:,index.php?page=2&page2=2,index.php?page=2&page3=2,。。。。

标签写法为:

1、【index.php?page=2&page1=2】

 {module module=news page=page1 pagesize=10 urlrule=index.php?page=2&page1=[page]}  

2、【index.php?page=2&page2=2】

 {module module=news page=page2 pagesize=10 urlrule=index.php?page=2&page2=[page]}  

3、【index.php?page=2&page3=2】

 {module module=news page=page3 pagesize=10 urlrule=index.php?page=2&page3=[page]}  

如果是非首页其他页面时,需要改对应的分页规则就行,否则下一页就点不开了。

迅睿CMS系统:

本文档原文地址:

文章来源:智云一二三科技

文章标题:迅睿CMS 同时存在多个分页标签的写法

文章地址:https://www.zhihuclub.com/41068.shtml

关于作者: 智云科技

热门文章

网站地图