Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[疑问] 自定义模块分页问题【求了一个上午了,还是没答案】

[复制链接]
12673565 发表于 2009-8-21 16:32:17 | 显示全部楼层 |阅读模式
模块代码如下:

   模块代码:<!--{block name="model" parameter="name/down/order/i.dateline DESC/perpage/16/subjectlen/15/subjectdot/1/showdetail/1/messagelen/50/messagedot/1/cachename/bookdown/tpl/data"}--><!--down-->

分页变量: $_SBLOCK[bookdown_multipage]

复制代码
已经开启分页功能,但是分页时,导航条能正常显示,连接却不正确,我引用该模块的页面为http://127.0.0.1/site/m.php?name=down,但是连接却是http://127.0.0.1/site/?page-2,代码如下:

   1. <div class="pages"><div><strong>1</strong><a href="http://127.0.0.1/site/?page-2">2</a><a href="http://127.0.0.1/site/?page-3">3</a><a href="http://127.0.0.1/site/?page-4">4</a><a href="http://127.0.0.1/site/?page-5">5</a><a href="http://127.0.0.1/site/?page-6">6</a><a href="http://127.0.0.1/site/?page-7">7</a><a href="http://127.0.0.1/site/?page-8">8</a><a href="http://127.0.0.1/site/?page-9">9</a><a href="http://127.0.0.1/site/?page-10">10</a><a class="next" href="http://127.0.0.1/site/?page-2">下一页</a></div>< /div>

复制代码
请问如何设置导航条里面引用该模块的页面地址??
回复

使用道具 举报

lidq.jingwu 发表于 2009-8-21 16:46:26 | 显示全部楼层
这些地址全都是经程序处理生成的,检查config.php文件中的配置是否正确吧。
回复

使用道具 举报

 楼主| 12673565 发表于 2009-8-21 17:37:13 | 显示全部楼层
设置没有问题的啊 。。。。我汗。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-12 23:34 , Processed in 0.118127 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表