主题 : 最新文*后面+“new” 这样的图标怎么做? |
级别: 秀才
|
1# 发表于:2009-10-15 10:19:29 IP:218.92.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
2# 发表于:2009-10-15 10:59:48 IP:117.94.*.*
可以加上new图标,例如:http://www.jxjk365.com
默认标签没有这种效果,需要对默认标签进行一些修改 |
||
---|---|---|---|
级别: 秀才
|
3# 发表于:2009-10-16 15:32:41 IP:218.92.*.*
谢谢版主回复!
那比如我使用这个标签[@cms.ArtiList chnlId=51 sysContent='1-1' titLen='20' count='6' lineHeight='3' lineHeight='3' dateFormat='4' datePosition='2' headMark='1' target='1'/],那应该怎么改呢? 是可以直接修改标签的属性,还是要在外面使用判断操作呢? |
||
---|---|---|---|
级别: 举人
|
4# 发表于:2009-10-16 18:00:16 IP:124.198.*.*
在这个tag_ArtiList.html中定义:
[#if style=='1'] <ul class="fctlist"> [#list pagination.list as ctt] <li> <a href="${ctt.url}" title="${ctt.tit(200)}" target="_blank">${ctt.stit(titLen)}</a><img src="new图片的地址"/> </li> [/#list] </ul> [/#if] 然后在页面中用:[@cms.ArtiList chnlId='${chnl.id}' attr='4' count='1' sysTpl='0' style='1' titLen='16' /] |
||
---|---|---|---|
级别: 秀才
|
5# 发表于:2009-10-19 09:57:26 IP:218.92.*.*
真是太谢谢lgch123 啦!
|
||
---|---|---|---|
级别: 秀才
|
6# 发表于:2009-10-22 18:52:33 IP:218.92.*.*
终于可以按时间来显示new图标了
|
||
---|---|---|---|
级别: 童生
|
8# 发表于:2010-02-05 15:20:26 IP:221.148.*.*
怎么能按日期显示呢
|
||
---|---|---|---|
级别: 童生
|
9# 发表于:2010-02-25 17:05:14 IP:221.148.*.*
elber25977 ,你是怎么按时间来实现的啊
|
||
---|---|---|---|
1
共1页