主题 : 怎么控制上下篇显示多少个字? |
级别: 秀才
![]() |
1# 发表于:2017-09-20 16:44:48 IP:60.179.*.*
|
||||
---|---|---|---|---|---|
级别: 版主
![]() |
2# 发表于:2017-09-20 16:45:53 IP:106.166.*.*
[@text_cut s=tag_bean.title len='10' append='...']
|
||
---|---|---|---|
级别: 版主
![]() |
4# 发表于:2017-09-20 16:52:48 IP:106.166.*.*
替换原来的${tag_bean.title}
[@text_cut s=tag_bean.title len='10' append='...' /] |
||
---|---|---|---|
级别: 秀才
![]() |
5# 发表于:2017-09-20 16:55:47 IP:60.179.*.*
<ul style="text-align: center;">
<li style="line-height: 25px;"><strong>上一篇:</strong>[@cms_content id=content.id next='0' channelId=channel.id][#if tag_bean??]<a href="${tag_bean.url}">[@text_cut s=tag_bean.title len='10' append='...']</a>[#else]没有了[/#if][/@cms_content]</li> <li style="line-height: 25px;"><strong>下一篇:</strong>[@cms_content id=content.id next='1' channelId=channel.id][#if tag_bean??]<a href="${tag_bean.url}">[@text_cut s=tag_bean.title len='10' append='...']</a>[#else]没有了[/#if][/@cms_content]</li> </ul> 不行还是服务器报错 |
||
---|---|---|---|
级别: 版主
![]() |
6# 发表于:2017-09-20 16:56:42 IP:106.166.*.*
[@text_cut s=tag_bean.title len='10' append='...' /]
|
||
---|---|---|---|
1
共1页