主题 : 请问下检索结果模板在哪里配置 |
级别: 童生
|
8# 发表于:2018-09-13 16:58:51 IP:118.120.*.*
回复第7楼 我检索模板改了报错了能帮我看下嘛 麻烦你了
报错内容:FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> 模板代码:<body> <!--header --> [#include "../include/nytnav.html"/] <!--header end--> <div class="container"> <div class="p_place"> <h2 class="fl f16 fontB white">${channel.name!}</h2> <h5 class="fr f14">您现在的位置 <a href='${base}/'>首页</a> > 检索 </h5> <p class="clear"></p> </div> [#if q??] [@cms_lucene_page q=q channelId=channelId startDate=startDate endDate=endDate descLen='170' append='...' count='10' ] <div class="p_list"> <ul> [#list tag_list as s] <li><span>${s.releaseDate}</span> <a href="${s.url}" title="${s.title}" target="_blank">${s.title}</a></li> [/#list] </ul> </div> <div align="center"> <table border="0"> <tr> <td align="center"> <div class="p_next"> [#include "../include/page-ny.html"/] </div> </td> </tr> </table> </div> </div> [/@cms_lucene_page] [/#if] <!--header --> [#include "../include/nytfooter.html"/] <!--header end--> <script type="text/javascript" src="/${res}/js/main.js"></script> </body> |
||
---|---|---|---|