Wednesday 18 June 2003 9:02:21 am
Tried to search around, didn't find something that made this clearer. In a News folder I have my News articles. I want the title and intro of the news to be shown in a box on the right side of the site. Something like the My Company (section 6) section i demo edition. I manage to show the title, but not the intro. In my pagelayout template I have: {news_list=fetch(content,list,hash(parent_node_id,159,limit,5,sort_by,array(published,false()),class_filter_type,include,class_filter_array,array(2)))} And:
<table class="menu" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th class="menuhead">
News
</th>
</tr>
{section name=News loop=$news_list}
<tr> <td class="menuitem">
<div class="menuname">
<a href={concat('content/view/full/',$News:item.node_id)|ezurl}>{$News:item.name|wash}</a>
</div> <div class="menudate">({$News:item.object.published|l10n(shortdate)})</div>
</td>
</tr>
{delimiter}
{/delimiter}
{/section} </table> This works, but instead of showing the date of published, I want to show the Intro of the article. I have tried a dozen of different combination with no luck. Apperantly attribute_view_gui won't work here. Any suggestions?
|