Currently with AF 7.x-2.0 if I click to view a container in order to view just the forums listed within that container the title of the last post is not displayed for any of the forums.
It displays fine when viewing the full list of forums from the main forum page.
This seems to be caused by line 104 in the core-overrides.inc file.
If I change line 104 from
$drupal_static_id = $post_count == 1 ? 'forum_forum_load' : __FUNCTION__;
to
$drupal_static_id = $post_count == 1 ? 'forum_forum_load()' : __FUNCTION__;
It seems to solve the problem.
Comments
Comment #1
troky commentedAbove change just breaks Drupal caching mechanism.
Please provide steps to reproduce this problem so I can check it out.
Comment #2
xanderol commentedAdd a forum container then add a forum to the container and add a post to the forum.
Now if you are at the main forum listing you will see the container and forum listed and you will see the title of the last post that was made.
Now click on the container. This takes you from the main forum page to the container page and you will see all of the forums listed in that container.
What you wont see anymore is the title of the last post. The authors name and date it was submitted still displays but not the linked title of the post.
I've tried this with a fresh install and no extra modules and get the same results.
The titles display fine from the container page if you are using 7.x-2.0-rc1
Comment #3
troky commentedTry attached patch and report back.
Remember to clear cache...
Comment #4
troky commentedErased part of the code by mistake. Try this one.
Comment #5
xanderol commentedThat appears to do the trick.
Thank you very much for your help.
Comment #6
troky commentedCommitted.