帝国cms动态页面通过自定义js调用tags

admin 2024年1月19日13:55:06帝国cms技巧评论1,125 次浏览阅读模式

内容摘要

帝国cms动态页面通过自定义js调用tags

文章正文

简介:动态页面通过自定义js调用tags

1.增加用户自定义JS

查询SQL语句:  select tagid as id,tagname as title from phome_enewstags  order by tagid desc limit 7

2.动态tag-js模板:[!--empirenews.listtemp--] <a href="/e/tags/?tagname=[!--@title--]">[!--title--]</a>&nbsp;[!--empirenews.listtemp--]

代码注释

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2024年1月19日13:55:06
  • 转载请务必保留本文链接:https://anyun.org/a/webtips/ecmstips/2024/0119/17616.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: