请问PbootCMS公共标签调用
可以在 PbootCMS 中实现多种数据处理和展示功能,使页面更加美观且功能丰富。具体使用方法如下:
- 模板文件嵌套引用:使用
{include file=***.html}。 - 时间格式化标签:使用
[list:date style=Y-m-d]或{content:date style=Y-m-d}。 - HTML 去除标签:使用
[list:content drophtml=1]或{content:content drophtml=1}。 - 内容截取标签:使用
[list:title len=10]或[list:title lencn=10]。 - 其他格式化标签:使用
dropblank=1、decode=1、decimal=*、unit=*、operate=**、lfield="a,b"、mark=1。 - 自定义标签:使用
{label:***}。 - 面包屑标签:使用
{pboot:position}。 - 当前网址:使用
{pboot:httpurl}。 - 当前页面:使用
{pboot:pageurl}。 - 二维码生成标签:使用
{pboot:qrcode string=***}。 - 程序运行时间:使用
{pboot:runtime}。 - 留言验证码开关状态:使用
{pboot:checkcodestatus}。 - 站点地图:访问
http://domain/index.php/sitemap或http://domain/index.php/sitemap.xml。 - 图片缩放及裁剪:使用
[list:ico width=100 height=100 maxwidth=200 maxheight=200]。

更新时间:2025-04-10 22:48:19
上一篇:请问帝国cms全站域名更换说明
转载请注明原文链接:https://www.muzicopy.com/suibi/673.html
