Forums / Setup & design / Double results :-)

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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