Type: Small improvement Software: shimmie2 Module: tag_list Reference: http://trac.shishnet.org/shimmie2/browser/branches/branch_2.2/ext/tag_list/theme.php Verified: Yes Solved: Yes Official res.: Unknown Author: Daniel Marschall Date: 2008-10-28 Here is another small thing we could do to improve the board: 1. As admin we can select between the tags of the image used and the related tags. But the board doesn't show the user what the administrator has defined. So we extend the function to show the exact side bar caption! ~ ext/tag_list/theme.php # Search for public function display_related_block($page, $tag_infos) { # Replace with public function display_related_block($page, $tag_infos, $title) { # Line 34 ~~~ # Search for $page->add_block(new Block("Related", $html, "left")); # Replace with $page->add_block(new Block($title, $html, "left")); # Line 53 ~ ext/tag_list/main.php # Search for first $this->theme->display_related_block($page, $tags); # Replace with $this->theme->display_related_block($page, $tags, "Related"); # Line 223 ~~~ # Search for second $this->theme->display_popular_block($page, $tags); # Replace with $this->theme->display_related_block($page, $tags, "Tags"); # Line 241