为什么调用公告类别没有用呢
{php $tags=tag("table=announce&condition=totime=0 or totime>$today_endtime-86400&typeid=5&pagesize=10&datetype=1&order=listorder desc,addtime desc&target=_blank&template=null")}{loop $tags $t}
{$t} [{date('Y-m-d', $t)}]
{/loop}
以上我的代码 typeid=5 这是调用类别5,就是不行,会把分类全调出来
搞定
condition=1 and typeid=5
怎么搞定呀。你这个是加那里呀。给一个完整的代码吧……朋友
http://bbs.destoon.com/static/image/smiley/default/loveliness.gif
http://bbs.destoon.com/static/image/smiley/default/loveliness.gif
调用时候可以参照数据库的字段来调用,有些字段是不存在的
destoon教程,destoon二次开发,destoon模板修改
destoon二次开发之家 扣扣1797587524
交流群:84902806
{php $tags=tag("table=announce&condition=totime=0 or totime>$today_endtime-86400 and typeid=5&pagesize=10&datetype=1&order=listorder desc,addtime desc&target=_blank&template=null")}
{loop $tags $t}
{$t} [{date('Y-m-d', $t)}]
{/loop}
保证可以 亲测通过
ycxhp 发表于 2013-1-13 21:01
保证可以 亲测通过
你这个如何限制调用字数?
页:
[1]