易优cms模板标签field报错:缺少属性 aid 值,或文档ID不存在的解决方法
如遇蓝奏网盘打不开lanzous替换成lanzoux尝试!
易优cms模板提示:标签field报错:缺少属性 aid 值,或文档ID不存在。
{eyou:channelartlist typeid=’83’}
<h2 class=”cp_title1″>{eyou:field name=’typename’ /}</h2>
<div class=”cloud-product-box”>
<div class=”cloud-product-wrapper”>
<div class=”cloud-product”>
<ul class=”cloud-product-ul clearfix”>
{eyou:arclist orderby=’sort_order’}
<li data-index=”{$i}” class=”active”>
<div class=”normal-inner”>
<div class=”cloud-product-single-bottom clearfix”>
<div class=”empty-space”>
<div class=”bg-product-pic server-header-0{$i}”></div>
</div>
<h2 class=”product-introduce-title”>{$field.title}</h2>
<div class=”product-introduce-list”>
<p class=”introduce-list-small”>{eyou:field addfields=’content’ /}</p>
</div>
</div>
</div>
<div class=”active-inner active-inner-0{$i} clearfix”>
<div class=”active-inner-item”>
<a class=”introduce-link” target=”_blank” href=”#”></a>
<div class=”empty-space”>
<div class=”bg-product-pic server-header-active-0{$i}”></div>
</div>
<h2 class=”product-introduce-title active-product-introduce-title “>{$field.title}</h2>
<div class=”product-introduce-list”>
<p class=”introduce-list-large”>{eyou:field addfields=’content’ /}</p>
</p> </div>
</div>
</div>
</li>
{/eyou:arclist}
</ul>
</div>
</div>
</div>
{/eyou:channelartlist}
将红色部分代码改成:
{eyou:field aid=’$field.aid’ addfields=’content’ /}