I tried to combine Directory module with the Janode module to build a small, but categorized link list; it's node typ is called "ressources", so I excluded all other node types except "ressources" in ./admin/settings/directory.

Then I checked "Show count of nodes in categories", and "Hide terms with no content"; the latter should, if I understand it's fuction correctly, prevent displaying taxonomy terms if there are null/zero/none nodes tagged with this term.

However, if I click on ./directory, my site's complete taxonomy is displayed. can click on a term, e.g. ./directory/5, and get a page with Sub-categories, e.g. "my_category [4]". If i click on this, I get "There are no items in this category. Please choose another".

Firstly: Shouldn't exactly this be prevented by the option "Hide terms with no content", or have I missed something?

Second: Users will be lost in hypertext when reaching an message "Please choose another" and there is nothing where they could choose from ;)

Greetingsd, -asb

Comments

itsnotme’s picture

Hide content types doesn't seem to work either; they are all included in the taxonomy list, though nothing is listed when you click on it. (I.e. same behavior as described for this bug.)

Tested also the latest dev version, same problem.

beginner’s picture

Version: 5.x-2.0 » 6.x-1.0-alpha1
Status: Active » Fixed

directory.module no longer handle the display of node teasers.
See the new D6 alpha release announcement:
http://drupal.org/node/283259

the per node type filter was indeed broken. It is no longer used (see above) so I removed the configuration block (will be in alpha2 release).

I couldn't reproduce the other bug: if a term has no nodes under it, then it won't be displayed. However if it has sub terms who do have some content, then the term will be displayed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.