Root menu node displays "There are currently no posts in this category."

analogduck - November 21, 2004 - 19:11
Project:Taxonomy Menu
Component:Code
Category:bug report
Priority:critical
Assigned:Morbus Iff
Status:closed
Description

Even though it is impossible to assign anything to a book but not a term (at least as far as I can determine), the menu dynamically generated by this module yields a root node which displays "There are currently no posts in this category." when clicked. In my case, it navigates to "taxonomy_menu/1" to obtain this error.

#1

analogduck - December 1, 2004 - 19:39

Has anybody got a quick band-aid for this issue until it gets resolved? Would it be easy to hack the module so that instead of displaying the root menu node it displays a static, generic message? (For example, "Click on a category in the navigation menu to view all of its related nodes.")

#2

Anonymous - December 9, 2004 - 13:29

Version 4.4.0 could display all nodes in a vocabulary but with 4.5.0 I also get "There are currently no posts in this category.".

Is it a bug or has Drupal 4.5.x changed so it's not possible anymore to display a vocabulary?

It would be really nice to have it back if possible!

On my site I still run Drupal 4.4.2 and then it looks like this http://xdeb.org/taxonomy_menu/1

#3

bradnickel - December 26, 2004 - 18:07

This is a ridiculous change. It has destroyed all my positioning in google and after searches users are getting errors when they click through to articles on my page.

In anyone going to address this and why would it change? Why not at the least make it configurable.

#4

Morbus Iff - January 6, 2005 - 00:25
Assigned to:Anonymous» Morbus Iff

I've attached a patch against the 4.5.0 version of taxonomy_menu that will do as we all expect: if we click on a vocabulary name, we expect to see all the nodes under that vocabulary. The patch also respects the "Display descendants" option: if this is checked, all nodes assigned to any term within the vocabulary are displayed. If it is not checked, however, only nodes assigned to root terms of a vocabulary are displayed.

AttachmentSize
taxonomy_menu.patch 1.56 KB

#5

Morbus Iff - January 6, 2005 - 00:32
Priority:normal» critical

Updating to critical - two other bugs/requests are both solved by this patch:
http://drupal.org/node/11028 and http://drupal.org/node/11957.

#6

JonBob - January 19, 2005 - 19:25

Applied a slightly simpler version. Thanks.

#7

Anonymous - February 2, 2005 - 20:15
 
 

Drupal is a registered trademark of Dries Buytaert.