Navigation Question...

Navigation Question...

Monday 28 July 2003 11:57:52 am - 1 reply

Author Message

Bjørn Kaarstein

Tuesday 29 July 2003 1:53:21 am

Say your folders is on root level.

{let folderlist=fetch('content', 'list', hash(parent_node_id,2,sort_by, array( array( priority, true() ) ) ))}

<table>
{section name=toppmeny loop=$folderlist}
<tr>
<TD> <a href={concat('/',$toppmeny:item.url_alias)|ezroot}{$toppmeny:item.name|wash}>{$:item.name}</a></TD>
</tr>
{/section}
</table>
{/let}

Then you need to call {module_result.content}, and write an override for your folder class. In that override you'll fetch from the article in the same way as you do when displaying on node_id.

Regards Bjørn

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

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