Insert in advanced forum: advf-forum-list.tpl.php. Please be aware of the XHTML 1.0 Strict! markup. a) In the top after the comments insert the inline jQuery (don't know where this actually should be). This is pretty static, we should count containers from the beginning and generate the appropriate amount of jQuery (php or something). b) After $forum_num = 0; insert this line. To have control over the container status. $container = 0; //collapsible container c) Insert af the first switch: "$position = 'middle_row';}". Increment the container ID if the "forum" is a container. //collapsible container if ($forum->is_container) $container = $container +1; d) Replace: . Here I added the child class for each container. Applies only for children of the container. This identifies which table rows to "show/hide". "> e) Replace:
name; ?>
. Here I add the show/hide span for each forum container. The css part should be moved to the css files of the adv forum module.
name; ?> is_container) print " show/hide";?>