Community day

At the eZ Winter Conference 2010, meet up with the community in Geneva, jan. 21st.
Register and read more here.

Folderlist

Thursday 28 April 2005 11:37:30 pm

Hello forum!

I have made a folder with some links I wish to display, but nothing shows up! What is wrong with the code?

{let lenker=fetch('content','list', hash(parent_node_id,2))}
{section loop=lenker}
{$lenker.name}
{/section}

Member since: 10/03/2005

Postings: 58

Sandvik Web & Data

Replies


0 Thumbs up!

Friday 29 April 2005 2:15:23 pm

Hi Kjell,

In your code is missing with $ near to lenker, you also can`t display name of object in section using variable name which store fetched nodes.

This is corrected code

{let lenker=fetch( 'content', 'list', hash( parent_node_id, 2 ) )}
{section var=child loop=$lenker}
    {$child.name}
{/section}
{/let}

Modified on Friday 29 April 2005 2:16:26 pm by Łukasz Serwatka

Member since: 29/09/2004

Postings: 2377

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

You must be logged in to post messages in this topic.

Powered by eZ Publish® Content Management System. Copyright © 2009 eZ Systems AS (except where otherwise noted). All rights reserved.