Forums / Setup & design / Multilevel forum

"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".

Multilevel forum

Author Message

Trond Hjelmaas

Wednesday 01 June 2005 12:51:05 pm

Hi,

I installed the default eZ website including the forum.

I would like a forum that has multiple levels, for example:
Level 1: "Buy and sell"
Level 2: "Australia"

I simply added the (sub)node of type "Forum" to the root "Forum" node. But it doesn't show up. However, if I add a "Forum topic" at the same location (as the Australia node) this "Forum topic" node shows up.

Can anyone help me what to do?

Thanks!

Ł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