业务经理

微信扫描以上二维码

028-61286886

技术咨询

显示分页功能未开启

迅睿框架 更新 2020-11-30 23:08:37 2461532407

{xunruicms_img_title}新闻资讯里面有内容,调用不出来,显示分页功能未开启,不知道跟分页未开启有没有关系

方案

  • 迅睿框架创始人 #1 · 2020-11-30 22:53:32
    什么模板?你写的代码是什么?我感觉你用错了代码
  • 2461532407 #2 · 2020-11-30 22:59:00

    {search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=5 urlrule=$urlrule} <li class="search-item clearfix"> <a title="{$t.title}" href="{$t.url}"> <img src="{dr_thumb($t.thumb, 100, 90)}" width="100" height="90" style="margin-top: 15px;"> </a> <div class="search-content text-left"> <h4 class="search-title"> <a title="{$t.title}" href="{$t.url}">{$t.title}</a> </h4> <p class="search-desc">{$t.description}</p> <div class="search-post-foot"> <ul class="search-post-tags"> {php $kw=@explode(',', $t.keywords);} {loop $kw $a} {if $a} <li class="uppercase"> <a href="{Router::tag_url($a)}" target="_blank">{$a}</a> </li> {/if} {/loop} </ul> <div class="search-post-meta"> <i class="fa fa-calendar font-blue"></i> <a href="javascript:;">{$t.updatetime}</a> </div> <div class="search-post-meta"> <i class="fa fa-eye font-blue"></i> <a href="javascript:;">{$t.hits}</a> </div> <div class="search-post-meta"> <i class="fa fa-comments font-blue"></i> <a href="javascript:;">{$t.comments}</a> </div> </div> </div> </li> {/search}用原装的代码也是一样显示不出来
  • 迅睿框架创始人 #3 · 2020-11-30 23:03:09
    满意答案
    {search module=MOD_DIR只能应用于search.html,你是不是用在的搜索页面吗?
  • 2461532407 #4 · 2020-11-30 23:08:25
    用 module 可以显示出来了,感谢感谢
  • 2461532407 #5 · 2020-11-30 23:08:37
    迅睿框架创始人:非常感谢

迅睿系统漏洞

站群分站系统
站群分站系统(2026-10-15)
子站域名新增llms.txt访问
GEO系统
GEO系统(2026-10-14)
修复下载zip空白地址问题 修复流量复刻和任务队列错误
GeoSeo收录宝
GeoSeo收录宝(2026-10-14)
新增 站长工具箱 前端首页自动调用meta 数据
滑块验证码 Gocaptcha
滑块验证码 Gocaptcha(2026-10-13)
基于开源项目 go-captcha 的行为验证码插件,滑动拼图、区域...
GeoSeo工具箱
GeoSeo工具箱(2026-10-13)
优化巡检任务
GeoSeo排名助手
GeoSeo排名助手(2026-10-11)
加入大模型自定义
SEO聚合关键字
SEO聚合关键字(2026-10-11)
优化关键字列表页最多支持1万篇文章,过多会导致服务器扛不住;
CMS内容同步复制
CMS内容同步复制(2026-10-10)
增加时间是否更新的开关