The attached patch includes all changes submitted in issue:

http://drupal.org/node/133247

plus the following:

- Only shows a list of categories which are children of the currently shown category
- Only shows the list of categories if there are any to show, otherwise it goes to list the links in the category
- Shows a "No links in this category" message if a category with no links is chosen

Perhaps this change is a bit harsh, but I find this behavior more like what I'd expect of the weblink listing.

CommentFileSizeAuthor
links_weblink.module_5.patch3.64 KBelondaits

Comments

ajayg’s picture

the no links in the catgeory should be shown only if there are no links in the category AND there are no subcategories. If there are subcategories with valid links inside (and you don't want to show child links on parent categories) then "no links" message can be easily misunderstood.

-Ajay