请大家帮助看看问题出在哪里, <!--{block name="spacenews" parameter="catid/1,2/order/i.dateline DESC/limit/0,24/cachetime/97200/subjectlen/56/subjectdot/1/cachename/hotnews"}-->在别的页面调用中是有内容显示的。我只饿极复制过来的。
请高手指点一下。
<!-- 模块代码 -->
<!-- 这里是模块代码,将满足条件的数据获取到变量$_SBLOCK[变量名]中,使用模块生成向导来生成 -->
<!--{block name="spacenews" parameter="catid/1,2/order/i.dateline DESC/limit/0,24/cachetime/97200/subjectlen/56/subjectdot/1/cachename/hotnews"}-->
<div class="global_model">
<h3>行业企业</h3>
<!-- 这里使用loop方法对模块获取的数据$_SBLOCK[变量名]进行循环显示 -->
<!--{loop $_SBLOCK['headnews'] $value}-->
<div class="bbs_tx_list">
<h5><a target="_blank" href="$value[url]">$value[subject]</a></h5>
<p>$value[message]</p>
</div>
<!--{/loop}-->
<!-- 这里为分页信息$_SBLOCK[变量名_multipage] -->
$_SBLOCK[headnews_multipage]
<!-- 模块使用范例结束 -->
</div>
</div>
</div>
<!-- 调用站点footer.html.php模板文件 -->
{template footer} |