您现在的位置是:首页 > 教程 > 易优cms教程易优cms教程

易优cms模板标签field报错缺少属性aid值,或文档ID不存在的解决方法

晓亦2023-08-13 17:51:36易优cms教程已有人查阅

导读易优cms模板提示:标签field报错:缺少属性 aid 值,或文档ID不存在。{eyou:channelartlist typeid=’83’}

易优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’ /}

本文标签:

很赞哦! ()

留言与评论 (共有 条评论)
验证码:

本栏推荐

相关标签