使用易优模板时,文章列表,栏目列表调用自定义字段时,如何调用呢?
{eyou:arclist titlelen='20' infolen='50' row='4' addfields='自定义字段名'}
{eyou:arclist titlelen='20' infolen='50' row='4' addfields='自定义字段名'}
<li >
<div class="news-com"><img src="{$field.litpic}">
<div class="news-h"><a href="{$field.arcurl}" target="_blank" title="{$field.title}">{$field.title}</a></div>
<div class="news-sum">{$field.自定义字段名}...</div>
</div>
</li>
{/eyou:arclist}
网站前端显示效果(css样式请自行填充)
{/eyou:arclist}
网站前端显示效果(css样式请自行填充)
EYOU 文章列表如何调用文章主体
使用易优模版时,文章列表,栏目列表如何调用文章主体呢?下面代码即可实现
{eyou:arclist titlelen='20' infolen='50' row='4' addfields='content'}
{eyou:arclist titlelen='20' infolen='50' row='4' addfields='content'}
<li >
<div class="news-h"><a href="{$field.arcurl}" target="_blank" title="{$field.title}">{$field.title}</a></div>
<div class="news-sum">{$field.content}...</div>
</li>
{/eyou:arclist}