fetch problem

Author Message

Felix Laate

Monday 16 June 2003 12:33:43 am

Hi all!

In a page, variant of the infamous pagelayout_section_x, in a column beside the main content, I need to get the contents of a certain class in that particular node printed. i.e. I want to make a list of all objetcs of that class in that node, and print the contents (image and short text) in my column.

This is what I've put in so far:

{section name=Margin loop=fetch(content,list,hash(parent_node_id,$DesignKeys:used.node,class_filter_type,include,class_filter_array,array(9))) show=eq($DesignKeys:used.viewmode,'full')}
¨
{$Margin:item.name}
<img src={"$Margin:item.image"|ezimage} alt="image" border="0" width="100" height="35" />
{$Margin:item.caption}

{delimiter}&uml;
{/delimiter}

{/section}

Only the name of the object is printed..

Any help would be appreciated!

:-) Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.