主题 : @cms_channel_list和@cms_content_list的相关问题 |
级别: 秀才
![]() |
1# 发表于:2017-05-27 17:12:29 IP:180.109.*.*
|
||||
---|---|---|---|---|---|
级别: 总版主
![]() |
2# 发表于:2017-05-27 17:15:15 IP:182.217.*.*
左边
[@cms_content_page count='6' orderBy='4' titLen='37' channelId='94' channelOption='1' dateFormat='yyyy-MM-dd'] [#list tag_pagination.list as a] <li><a href="${a.url}" title="${a.title}" target="_blank">[@text_cut s=a.title len=titLen append='...'/]</a></li> [/#list] [/@cms_content_page] 右边 [@cms_content_list count='6' titLen='20' orderBy='4' channelOption='1' channelId=92] [#list tag_list as a]${a.title!} [@text_cut s=a.txt! /] [/#list] [/@cms_content_list] |
||
---|---|---|---|
级别: 秀才
![]() |
3# 发表于:2017-05-27 17:19:24 IP:180.109.*.*
先不管右边的,如图那样,55555和6666是同一个栏目的,我想把这些内容分开显示,放到对应的栏目下
|
||
---|---|---|---|
级别: 秀才
![]() |
4# 发表于:2017-05-27 17:20:06 IP:180.109.*.*
图片
|
||
---|---|---|---|
级别: 秀才
![]() |
5# 发表于:2017-05-27 17:20:57 IP:180.109.*.*
*务 55555555596 other96 666666666666696 其他 55555555597 other97 666666666666697 |
||
---|---|---|---|
级别: 秀才
![]() |
7# 发表于:2017-05-27 17:22:19 IP:180.109.*.*
动态的,多个栏目
|
||
---|---|---|---|
级别: 秀才
![]() |
8# 发表于:2017-05-27 17:23:11 IP:180.109.*.*
我想用这种 [#if c.id==c1.channel_id] ,怎么把栏目的id和内容所对应的栏目id相等
|
||
---|---|---|---|
级别: 秀才
![]() |
10# 发表于:2017-05-27 17:29:55 IP:180.109.*.*
确实有问题,我想问下if怎么写
|
||
---|---|---|---|