-
网络品牌广告设计类网站...
-
仪器仪表科技公司类网站...
-
防腐木材工程类网站织梦...
-
精工机械轴承加工类网站...
-
装修设计类网站织梦模板...
-
QQ个性空间日志资讯类网...
-
茶几茶盘类网站织梦模板...
-
家政服务保姆月嫂类网站...
-
搬家搬迁公司类网站织梦...
-
财经新闻资讯网类织梦模...
-
物流快运速递类网站织梦...
-
产品展示柜台类网站织梦...
-
新闻博客资讯类网站织梦...
-
仪器分析仪类网站织梦模...
-
智能电子玩具类网站织梦...
-
汽车用品配件类网站织梦...
-
中英双语窗帘门窗设计类...
-
财富管理培训咨询类网站...
-
网站建设万词霸屏SEO优化...
-
鲜花商城购物类网站织梦...
要获取附加表内容,必须符合两个条件
1、指定 channelid 属性
2、指定要获得的字段 addfields='字段1,字段'
例如
{dede:arclist addfields='filetype,language,softtype' row='8' channelid='3'}[field:textlink /] - [field:softtype /]<br />{/dede:arclist}
底层模板字段
ID(同 id),typeid,sortrank,flag,ismake,channel,arcrank,click,money,title,shorttitle,color,writer,source,litpic(同picname),pubdate,senddate,mid, lastpost,scores,goodpost,badpost,notpost,description(同infos),filename, image, imglink, fulltitle, textlink, typelink,plusurl, memberurl, templeturl,stime(pubdate 的"0000-00-00"格式)
其中
textlink = <a href='arcurl'>title</a>typelink = <a href='typeurl'>typename</a>imglink = <a href='arcurl'><img src='picname' border='0' width='imgwidth' height='imgheight'></a>image = <img src='picname' border='0' width='imgwidth' height='imgheight' alt=’titile’>
字段调用方法:[field:varname/]
例如
{dede:arclist infolen='100'}[field:textlink/]<br>[field:infos/]<br>{/dede:arclist}
注:底层模板里的Field实现也是织梦标记的一种形式,因此支持使用PHP语法,Function扩展等功能。
例如: 给当天发布的内容加上 (new) 标志
[field:senddate runphp='yes']$ntime = time();$oneday = 3600 * 24;if(($ntime - @me)<$oneday) @me = "<font color='red'>(new)</font>";else @me = "";[/field:senddate]


