destoon二次开发基础代码

时间:2022-12-05 15:12:13

标签调用规则

http://help.destoon.com/develop/22.html

数据字典

http://help.destoon.com/dict.php

destoon各类调用汇总

http://www.jb51.net/article/51337.htm

destoon实现调用图文新闻的方法

http://www.jb51.net/article/54148.htm

{if $DT[page_news]}

<!--{tag("moduleid=21&length=16&condition=status=3 and level=3 and thumb<>''&pagesize=1&target=_blank&order=addtime desc&width=100&height=80&cols=1&template=thumb-table")}-->

{/if}

<!--{php $tags=tag("moduleid=7&condition=status=3 and thumb!=''&length=30 and level>0&areaid=$cityid&pagesize=1&datetype=2&order=addtime desc&target=_blank&template=null");}-->
{loop $tags $i $t} <a href="{$t[linkurl]}" rel="external nofollow" target="_blank"><span><img src="{$t[thumb]}" width="96" height="66" alt="" ></span> <strong>{$t[title]}</strong> <small>{dsubstr($t[introduce],76)}... <em>[详细]</em></small> </a> {/loop} </div>

常用系统标签

{DT_SKIN}  模板目录

{DT_STATIC}  static目录

二次开发常用文件位置

V前台模板文件位置 template/default/...

M模型逻辑文件位置 module/...