destoon标签字符串的定义
随着b2b的高速开展,许多购物网站改用更为专业的destoon模板系统,随之而来的也是越来越多的客户群体,但是关于初学者来说,destoon的标签字符串调取规则许多同学难以懂得,今天小编特地整理了一下,标签字符串的定义,大家可以参照 一下,但愿能帮到大家!
如图:
<!--{php $tags=tag("moduleid=5&condition=status>2 and username='$username' and elite=1
and thumb<>''&length=44&pagesize=8&order=edittime
desc&fields=itemid,title,introduce,linkurl,thumb,price,edittime&template=null");}-->
moduleid 模块ID
table 表名 这个前提一样很少用到
condition=status>2 正常信息
and level>0 信息级别大于0
and level=1 信息级别等于1 (1-9 顺次雷同)
and thumb<>'' 必需有标题图
areaid=$cityid 地区 (这个一样默许,不消理会)
order 排序方式(看后台当前模块治理设定有方式)
pagesize 显示条数
length 字符数目(44=22个字)
template 指定模板
以上就是destoon标签字符串的定义!