Tuesday 21 December 2004 6:17:33 pm
hi all, i need someone to tell me what is the difference between these two codes. can i combine tis 2 codes together??
<div class="content-view-line"> <div class="class-article"> <h2><a href={$node.url_alias|ezurl}>{$node.object.data_map.title.content|wash}</a></h2>
{section show=$node.object.data_map.image.content}
<div class="attribute-image">
{attribute_view_gui alignment=right image_class=articlethumbnail attribute=$node.object.data_map.image.content.data_map.image}
</div> {/section}
{section show=$node.object.data_map.intro.content.is_empty|not}
<div class="attribute-short">
{attribute_view_gui attribute=$node.object.data_map.intro}
</div> {/section}
{section show=$node.object.data_map.body.content.is_empty|not}
<div class="attribute-link">
<p><a href={$node.url_alias|ezurl} >{"Read more..."|i18n("design/base")}</a></p>
</div> {/section}
</div> </div> -------------------------------------------------------------------------{section name=Child loop=fetch(content,list,hash(parent_node_id,69,limit,$page_limit,offset,$view_parameters.offset,sort_by,$node.sort_array))} {node_view_gui view=line content_node=$Child:item} {/section} thanks you
|