联系我们

13878897862


建站、模板咨询

destoon公告栏的调用标签和模板文件

首先的destoon的默认的首页他的公告栏调用是用的:

<!--{tag("table=announce&condition=totime=0 or totime>$today_endtime-86400&areaid=$cityid&pagesize=3&datetype=2
&order=listorder desc,addtime desc&target=_blank")}-->



它的这个标签引用的模板文件是template/default/tag/list.htm文件。

当我们不想用这个list.htm文件,而想要用到自己写的样式和模板,可以复制一份这个文件,把文件名改为例如 list-index.htm.

样式和标签可以自己照list.htm调用。

在首页我们用

<!--{tag("table=announce&condition=totime=0 or totime>$today_endtime-86400&length=30&areaid=
$cityid&pagesize=3&datetype=2&order=listorder desc,addtime desc&target=_blank&template=list-index")}-->