主题 : 急急急 再次*帖请教如何在栏目模板(channel)中获取文*摘要 |
级别: 举人
![]() |
1# 发表于:2009-09-11 10:13:27 IP:123.122.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
![]() |
2# 发表于:2009-09-14 08:39:03 IP:59.130.*.*
[@cms.ArtiList chnlId='38' titLen='20' count='10' inner='1';a,i,has_next]
(${a.title})<br /> <br /> ${a.description} [/@cms.ArtiList] a.title 就是文章标题; a.description 即文章摘要 |
||
---|---|---|---|
级别: 举人
![]() |
3# 发表于:2009-09-14 10:39:40 IP:123.122.*.*
为什么我在里面加入attr='2'这个属性不起作用,但是在其它的[@cms.ArtiList ]标签里能起作用。在这个 [@cms.ArtiList chnlId='38' titLen='20' count='10' inner='1';a,i,has_next]
(${a.title})<br /> <br /> ${a.description} [/@cms.ArtiList] 中不起作用 |
||
---|---|---|---|
级别: 白丁
![]() |
4# 发表于:2009-09-14 11:23:17 IP:115.172.*.*
默认情况下,attr='2'是读取文章属性为“图文”的文章
检查下你是否有文章设置为“图文” 如果没有,那自然是读取不到的 |
||
---|---|---|---|
1
共1页