主题 : 获取信息列表 |
级别: 贡士
|
1# 发表于:2014-08-11 15:20:13 IP:221.124.*.*
|
||||
---|---|---|---|---|---|
级别: 状元
|
2# 发表于:2014-08-11 15:28:31 IP:182.207.*.*
取类型图的新闻你[@cms_content_list channelId='66' count='1' orderBy='2' channelOption='1' ] 还要加一个参数typeId=3
|
||
---|---|---|---|
级别: 贡士
|
3# 发表于:2014-08-11 15:53:34 IP:221.124.*.*
回复第2楼 成了 我用的是图文 所以typeId=2
|
||
---|---|---|---|
级别: 贡士
|
5# 发表于:2014-08-11 16:42:34 IP:221.124.*.*
回复第4楼 我在内容模型里面新增了一个下来字段,名字叫contype,为什么我分别写的contype='1' contype='2' 取的内容都是一样的
|
||
---|---|---|---|
级别: 贡士
|
8# 发表于:2014-08-11 16:49:15 IP:221.124.*.*
回复第7楼
[@cms_content_list channelId='66' contype='1' count='1' titLen='20' orderBy='2' channelOption='1' ] [#list tag_list as a] [#if a.typeImg??] <div style="float:left;"><img src="${a.typeImg!site.defImg}" style="width:138px;height:94px;"/></div> [/#if] [/#list] [/@cms_content_list] 那我这里应该怎么改 |
||
---|---|---|---|
级别: 总版主
|
9# 发表于:2014-08-11 16:50:50 IP:182.207.*.*
[@cms_content_list channelId='66' contype='1' count='1' titLen='20' orderBy='2' channelOption='1' ] 你这个里面写contype='1'是什么意思?自定义字段是
|
||
---|---|---|---|
级别: 贡士
|
10# 发表于:2014-08-11 16:52:44 IP:221.124.*.*
回复第9楼 我自定义了一个字段 是下拉的
|
||
---|---|---|---|