I believe this is an issue probably inherent to the Drupal forum, but I'm kinda "hoping" it can be solved with advanced forum.
I'm building a complex forum with 3 levels of containers before the forums.
Between the first level of containers (at the root) and the second level containers (children of the root container), there is an indentation that separates them well. But starting at the third level, all containers and forums are at the same level of indentation. Forums have a different backgound color, so it helps a bit. But second and third level containers are indistinguishable.

It wouldn't be so bad if each level was not expanded but right now, after the root container, everything appears expanded in one single row.
There is no option for "expand" in the containers and forums builds.
The only place where the option is offered is in "menu/forums". But I have "expand" unchecked there, and it's still expanded.

I've searched all over the Drupal forum for the last two days, but can't find anything about that.

CommentFileSizeAuthor
#6 Screenshot - 015.jpg30.73 KBeigentor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Michelle’s picture

I'm a little confused. Do you mean in the menu or on the forum listing page? If the latter, that code is all in forum-list.tpl.php and you can edit it there. I do plan on working on this file but probably not until early next week. My plan is actually to backport the D6 forum theme code and then work from there so upgrading to D6 will go much easier. This is going to take me some time, though, because I haven't looked at D6 much, yet, so I need to get some other things done first.

Michelle

roaming’s picture

Sorry if it's not clear.
I'm going to try to make it simple (if I can).

In "administer/forums", when I add the containers and forums, it looks like this:

Container 1 (root)
-Subcontainer 1 (parent=container 1)
--Subcontainer 2 (parent=subcontainer 1)
---Forum 1
---Forum 2

When I navigate to "forums", the main page for the forums looks like this:

Container 1 (root)
- Subcontainer 1
- Subcontainer 2
- Forum 1
- Forum 2

After the root, everything is expanded in one column (I think I said "row" in my original post, which I can't view right now).

There is always a workaround, though.
For now, I'm going to take off one level of subcontainer and make it a separate root container.
Hopefully some day this will be solved.

Cheers.

Michelle’s picture

Ok, then it's forum-list.tpl.php you need to edit. Or wait until I get that far. Up to you. :)

Michelle

roaming’s picture

:) I'm not a programmer.
So I'll be patient.

Thanks!

reikiman’s picture

subscribing

eigentor’s picture

FileSize
30.73 KB

I tried this out with default Drupal Forum: There it works. I added four cascading Containers, and each one is indented 30 px more than the previous one. (See attached file) This appears to be due to a hardcoded 30 px indentation for every new level. (same with old drupal forum comment display).

However, if you look at forum-list.tpl.php of advforum, you find the following comment and following code.
// Instead of forcing a 30px hard-coded style for indented columns, add a class to the div
if(($forum->depth * 30) > 0) {
$description = '

' . "\n";
} else {
$description = '
' . "\n";

}

So - Michelle removed the hardcoded 30px and put in a class "forum-indented" for every sublevel. This is intended to make the indentation themable. Obviously, the downfall becomes visible in your example. Because every new level gets the same class and cannot be indented more.

I don't know if Michelle can incorporate the old behaviour of cascading indentation with the new approach of themability.

Michelle’s picture

Actually, Jacine (Sky maintainer) did that, though it was something I had on my to do list. I'll have a look at it soon as I can but I'm open to suggestions. I've got client work to deal with this afternoon but I do plan on putting in a good chunk of time on advforum this week.

Michelle

roaming’s picture

Thanks, eigentor. Your screenshot is exactly what I was trying to explain.

Michelle’s picture

Status: Active » Postponed

Thanks to eigentor, this page is much improved in alpha 1. It doesn't handle complex forum layouts very well, though, so needs some work. Postponing this for now as it works well enough for most needs if you dont' get crazy with the nesting.

Michelle

Michelle’s picture

Just a note on this... This will be fixed when I backport the changes from D6.

Michelle

Michelle’s picture

Status: Postponed » Active

Hmm... Looks like the backport didn't fix this. Must need to fix the CSS to take into account the new classes.

Michelle

Michelle’s picture

Status: Active » Fixed

Ok, that was easy enough. Fixed in my copy. Will be committed tonight/tomorrow.

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

tassoman’s picture

Component: Theming » User interface

Was that issue committed? Containers still not identable...