Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hy Guys!
I have a problem with the "Forums hierachy".
If I create a new forum, i can see the subforum twice.
One entry is on the correct position and the second
entry is on the main-forum page.
(pic: Advanced1 & Advanced2)
If I deactivate the advanced forum, I see the forum hierachy correctly.
(pic: forum)
What's my mistake? What must I do, that the forum hierachy shows correctly?
Best regards
Stan Marlow
PS: I use Drupal Version 7.23
Comment | File | Size | Author |
---|---|---|---|
Struktur.jpg | 123.94 KB | StanMarlow | |
forum.jpg | 204.41 KB | StanMarlow | |
Advanced2.jpg | 114.21 KB | StanMarlow | |
Advanced1.jpg | 118 KB | StanMarlow |
Comments
Comment #1
Romash CreditAttribution: Romash commentedHi, Stan!
I run into the same problem, but I don't use the advanced forum.
Source code analisys forum.module showed that function forum_forum_load($tid = NULL) displays a tree of foums entirely:
801 $_forums = taxonomy_get_tree($vid, $tid);
I think you have to change the code:
801 $_forums = taxonomy_get_tree($vid, $tid, 1);
taxonomy_get_tree()