我的知识记录

请问PbootCMS公共标签调用

可以在 PbootCMS 中实现多种数据处理和展示功能,使页面更加美观且功能丰富。具体使用方法如下:

  1. 模板文件嵌套引用:使用 {include file=***.html}。
  2. 时间格式化标签:使用 [list:date style=Y-m-d] 或 {content:date style=Y-m-d}。
  3. HTML 去除标签:使用 [list:content drophtml=1] 或 {content:content drophtml=1}。
  4. 内容截取标签:使用 [list:title len=10] 或 [list:title lencn=10]。
  5. 其他格式化标签:使用 dropblank=1、decode=1、decimal=*、unit=*、operate=**、lfield="a,b"、mark=1。
  6. 自定义标签:使用 {label:***}。
  7. 面包屑标签:使用 {pboot:position}。
  8. 当前网址:使用 {pboot:httpurl}。
  9. 当前页面:使用 {pboot:pageurl}。
  10. 二维码生成标签:使用 {pboot:qrcode string=***}。
  11. 程序运行时间:使用 {pboot:runtime}。
  12. 留言验证码开关状态:使用 {pboot:checkcodestatus}。
  13. 站点地图:访问 http://domain/index.php/sitemap 或 http://domain/index.php/sitemap.xml。
  14. 图片缩放及裁剪:使用 [list:ico width=100 height=100 maxwidth=200 maxheight=200]。

请问PbootCMS公共标签调用

标签:标签pogo表示什么-

更新时间:2025-04-10 22:48:19

上一篇:请问帝国cms全站域名更换说明

下一篇:请问帝国cms备份网站需要备份什么数据?