Multilevel forum

Multilevel forum

Wednesday 01 June 2005 12:51:05 pm - 1 reply

Modified on Wednesday 01 June 2005 12:52:19 pm by Trond Hjelmaas

Author Message

Ɓukasz Serwatka

Wednesday 08 June 2005 1:34:43 am

Hi Trond,

In file design/base/override/templates/full/forum.tpl
you can add simple fetch at the top of page and list sub-forums as well.

{def $sub_forums=fetch( content, list, hash( parent_node_id, $node.node_id,
class_filter_type, include,
class_filter_array, array( 'forum' ) ) )}

{foreach $sub_forums as $forum}
    {$forum.name|wash} <br />
{/foreach}

For < 3.6 use let and section to loop the results

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™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.