Double results :-)

Author Message

Kjell Inge Sandvik

Monday 25 April 2005 11:02:41 am

Sorry forum for filling up with noob-questions :-)

This is what I have in my template:

{let nodes=fetch('content','list',hash('parent_node_id',66))}
{* Loop through the children, display node names. *}

{section loop=$nodes}
    {$item.name}<br />
	{attribute_view_gui attribute=$node.object.data_map.image image_class="small"}<br />
{/section}

{/let}

This works great, but I get each article twice... anyone...?

Sandvik Web & Data

Ɓukasz Serwatka

Monday 25 April 2005 11:15:41 pm

Probadly some of your nodes are in many locations.

main_node_only, true()

Should do the trick

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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