联系官方销售客服

1835022288

028-61286886

应用插件 版主:官方插件技术组
Tag插件更换关联字段,Tag列表展示空白
类型:迅睿CMS 更新时间:2024-05-13 17:51:23 module=all 关键词TAG
插件 关键词TAG V3.26
应用作者 迅睿官方团队
发布时间 2019-03-14 10:14:31
更新时间 2024-04-18 15:09:59

image

tag更换关联字段后,tag列表展示空白!


                                    {related module=all field=id,title,url tag=$tag.tags page=1 pagesize=10 urlrule=$urlrule}

                                    <li><span class="badge badge-empty badge-success"></span> <a href="{$t.url}" class="title">{dr_strcut($t.title, 35)}</a></li>

                                    {/related} {$debug}


默认的这串代码是要怎么改?

插件教程:https://www.xunruicms.com/doc/app-364.html

回帖
  • 外聘专员-小波工作室
    #1楼    外聘专员-小波工作室
    2024-05-13 17:25:57
    Chrome 0
    debug数据显示什么内容呢
  • Hypoxia
    #2楼    Hypoxia
    2024-05-13 17:46:02
    Edge 0
    标签解析:{related module=all field=id,title,url,thumb,description,keywords,updatetime,hits,tagword tag=特色景点 order=updatetime page=1 pagesize=10 urlrule=/tag/1-[page].html}
    查询解析: SELECT count(*) as c FROM (SELECT id,title,url,thumb,description,keywords,updatetime,hits,tagword,'article' AS mid FROM `dr_1_article` UNION ALL SELECT id,title,url,thumb,description,keywords,updatetime,hits,tagword,'doctor' AS mid FROM `dr_1_doctor` UNION ALL SELECT id,title,url,thumb,description,keywords,updatetime,hits,tagword,'course' AS mid FROM `dr_1_course` UNION ALL SELECT id,title,url,thumb,description,keywords,updatetime,hits,tagword,'video' AS mid FROM `dr_1_video` UNION ALL SELECT id,title,url,thumb,description,keywords,updatetime,hits,tagword,'technique' AS mid FROM `dr_1_technique`) as my WHERE ((`title` LIKE "%特色景点%" OR `keywords` LIKE "%特色景点%")) ORDER BY NULL
    查询耗时: 0.043489933013916s
    当前路由:tag/home/index
    当前地址:tag/1.html
    动态地址:index.php?s=tag&name=1&c=home&m=index
    没有查询到内容
    变量前缀:t
    总记录数:0
    分页功能:未开启
  • 外聘专员-小波工作室
    #3楼    外聘专员-小波工作室
    2024-05-13 17:48:47
    Chrome 0
    {related module=all field=id,title,url,tagword tfield=tagword tag=$tag.tags page=1 pagesize=10 urlrule=$urlrule}改成这样
    满意答案
  • Hypoxia
    #4楼    Hypoxia
    2024-05-13 17:51:23
    Edge 0
    @外聘专员-小波工作室:完美,太感谢了。