动易CMS文章首页多张图片调用失败
解决:在循环标签中,parentid="@RequestInt_id"其值@RequestInt_id在这里循环需要用{PE.field fieldname="NodeID" /},即改成:
{PE.Label id="普通图片列表标签" tablename="PE_U_Article" parentid="{PE.field fieldname="NodeID" /}" shownum="10" border="0" titlelen="24" /}
<div class="bbox">
<dl>
<!-- 栏目循环列表开始 -->
{PE.DataSource id="categorylist" datasource="栏目循环列表" parentid="@RequestInt_id" page="true"
pagesize="20" pagemain="true" urlpage="true" xslt="true" /}
{PE.Repeat id="categorylist" loop="10"}
<dt>{PE.Field id="categorylist" fieldname="NodeLink" /}
</dt>
<dd>
<ul>
{PE.Label id="普通图片列表标签" tablename="PE_U_Article" parentid="@RequestInt_id" shownum="10" border="0" titlelen="24" /} </ul>
</dd>
{/PE.Repeat}
<!-- 栏目循环列表结束 -->
</dl>
</div>
补充:网页制作,设计基础