主题 : 页面中如何获取父栏目id |
级别: 举人
![]() |
1# 发表于:2014-11-17 11:25:02 IP:218.127.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
![]() |
3# 发表于:2014-11-17 12:00:51 IP:218.127.*.*
报错了 严重: Servlet.service() for servlet JeeCmsFront threw exception FreeMarker template error: The following has evaluated to null or missing: ==> channel.parent [in template "WEB-INF/t/cms/www/default/channel/news.html" at line 82, column 68] |
||
---|---|---|---|
级别: 举人
![]() |
5# 发表于:2014-11-17 12:04:16 IP:218.127.*.*
回复第4楼
<div class="rightNew"> <div class="show_biaoti"><strong class="biaoti">${channel.parent.id!}-${channel.name}</strong></div> <div class="imgHr"> </div> |
||
---|---|---|---|
级别: 总版主
![]() |
6# 发表于:2014-11-17 12:07:36 IP:111.83.*.*
你把前面的${channel.parent.id!}去掉能获取到${channel.name}么?
|
||
---|---|---|---|
1
共1页