dede arclist调用文章内容方法
            
            
                使用arclist 有时候需要调用 文章内容,可是arclist底层模板不支持这块的
有两种方法可以在arclist里调用body内容:
1:
{dede:arclist typeid='栏目id' channelid=1 addfields='body'}
[field:body/]
{/dede:arclist}
这里要修改一下设置,操作步骤:
“核心->频道模型->内容模型管理->普通文章->列表附加字段 ”添加要查找的内容 body
2:
在需要调用body内容的地方加上:    [field:id runphp='yes'] $aid = @me; $row = $GLOBALS['dsql']->GetOne("Select body From `80php_addonarticle` where aid='$aid' "); @me = "{$row['body']}";[/field:id]就可以了
如:
[php]
{dede:arclist typeid=2121 orderby='pubdate' addfields='body'}
        [field:global runphp='yes' name='autoindex']
              $str = "<div>";
            $str2 = "<div style='display:none'>";
            if(@me==1){
                @me = $str;
            }else{
                @me = $str2;
            }
        [/field:global]
            <div class="f_rnav">[field:title/]</div>
            <div class="f_content">
                [field:id runphp='yes'] $aid = @me; $row = $GLOBALS['dsql']->GetOne("Select body From `80php_addonarticle` where aid='$aid' "); @me = "{$row['body']}";[/field:id]
            </div>
        </div>
    {/dede:arclist}
[/php]