主题 : jeecms-3.1.1-final内容列表分页实现 |
级别: 童生
|
1# 发表于:2013-11-18 10:34:46 IP:166.96.*.*
|
||||
---|---|---|---|---|---|
级别: 状元
|
2# 发表于:2013-11-18 10:55:29 IP:111.77.*.*
topic is undefined on line 46, column 37 in WEB-INF/t/cms/tsccla/default/channel/channel_xnyj.html. The problematic instruction你改的没有找到这个字段,channel_xnyj这个栏目是您自己新建的吗?
|
||
---|---|---|---|
级别: 童生
|
5# 发表于:2013-11-18 11:27:57 IP:166.96.*.*
1.我把topicId=topic.id 删除了,前台显示出来了,但分页没起作用。
2.我修改为contentId=contentId ,前台显示出来了,但分页没起作用。 我这是新建的栏目,那这个地方分页签怎么用? |
||
---|---|---|---|
级别: 状元
|
6# 发表于:2013-11-18 11:33:25 IP:111.77.*.*
你那上面分页标签是可以的,但是你报错信息找不到你那个topic不知道您是怎么调用的怎么会没 这个topic
|
||
---|---|---|---|
级别: 童生
|
7# 发表于:2013-11-18 11:55:31 IP:166.96.*.*
非常感谢你的帮助,你们真是太棒了,点到了我的错误点。仔细研究了下,解决了。再次感谢下!
[@cms_content_page channelId=channel.id count=channel.pageSize sysPage='1' orderBy='3' channelOption='1' channelId='313' typeId='2' descLen='150' append='...'] [#list tag_pagination.list as a] <ul class="fl pictxt pt_4"> <li> <div class="ptpic"><a href="${a.url}" title="${a.title}" target="_blank"><img src="${a.typeImg!site.defImg}" width="120" height="140" alt="${a.title}"/></a></div> <div class="pttxt"> <div class="ptxt"><a href="${a.url}" title="${a.title}" target="_blank">${a.title}</a><span class="teatit">${a.shortTitle}</span></div> <div class="ptxi">[@text_cut s=a.description len=descLen append=append/]<a class="ml10" href="${a.url}">详细 ></a></div> </div> </li> </ul> [/#list] [/@cms_content_page] |
||
---|---|---|---|
1
共1页