The version 6 of the module is very confusing to me. In version 5, all you have to do is enable the vocab to create menus. Here, I have to indicate a module page, which can't be customized for each vocab. And then the terms do not show up.

Comments

Morris Singer’s picture

I encountered this problem as well. In taxonomy_menu.inc, insert the following line after line 184:

'access arguments'    => array('access content'),

Thus, the entire array for a taxonomy term menu item should change from this (in the original):

          $items[$path] = array(
            'description'     => t($term->description),
            'title'           => $name,
            'weight'          => $term->weight
          );

to:

          $items[$path] = array(
            'access arguments'    => array('access content'),
            'description'     => t($term->description),
            'title'           => $name,
            'weight'          => $term->weight
          );

Best of luck.

Metusela’s picture

I did the change Morris Singer sugested but I still have the same problem.

rares’s picture

This fix worked for me. Are you using 6.3?

akadimi’s picture

It works for me too, thanks
versions:
drupal:6.3
taxonomy menu: 6.x-1.0

zakjan’s picture

Yes, I tried it and it works well. You should commit this to "stable" 6.x-1.0 version.
But I have another problem, can someone help me?
#291339: Using pathauto aliases

rcdiugun’s picture

I did the fix, but I'm still not getting the terms under the vocabulary. What exactly should the value of the "module page" field be?

moshe weitzman’s picture

Priority: Normal » Critical

The menu fix discussed here is in the module now. But the code to render a tree of terms is not ported to 6. Not sure the module dhould even be released without that. Or I am missing something.

scottatdrake’s picture

Subscribing.

Expected to be able to have a tree of terms in a block. I think I missed something, too. I only get one list item with the name of my taxonomy that links to whatever I put in the "Module page:" text box.

petertj’s picture

Subscribing - looks like a great module, especially with DHTML menu, but not without the term subtrees.

tarvid’s picture

I am having the same problem at http://downtowngalax.com/

Category points to http://downtowngalax.com/category/category/8 and does not expand.

http://downtowngalax.com/admin/build/menu-customize/navigation has Category marked to expand.

http://downtowngalax.com/admin/content/taxonomy/8 does indeed have a two level taxonomy which looks sane (mostly)

lsnet@helen:~/public_html/downtowngalax.com/sites/all/modules/taxonomy_menu$ ls
CVS taxonomy_menu.inc taxonomy_menu.info taxonomy_menu.module
README.txt taxonomy_menu.inc.org taxonomy_menu.install
lsnet@helen:~/public_html/downtowngalax.com/sites/all/modules/taxonomy_menu$ cat taxonomy_menu.info
; $Id: taxonomy_menu.info,v 1.1.1.1 2008/01/31 16:28:34 brmassa Exp $
core = "6.x"
dependency = taxonomy
description = "Adds links to taxonomy terms to the global navigation menu."
name = "Taxonomy Menu"

ss_drupal’s picture

I'm on 6.4.

The code change didn't do it for me. Problem persists. Top nodes only, even with Expanded selected in the Menu administration interface.

ss_drupal’s picture

Correction.

The code change works, but only if there are content nodes to be found.

Or at least that's the behavior I think I'm seeing.

vlad.leo’s picture

Category: support » bug
Status: Active » Closed (duplicate)

See #282608: Upgraded to 6.3, vocab not appearing in menus and maybe this problem is fixed.