After upgrading to 6.3, the vocabularies appear in Taxonomy Menu Plus settings, but they don't appear in any of the menus - except for one term??? Any ideas?

CommentFileSizeAuthor
#4 taxonomy_menu.inc_.test11.29 KBTSE

Comments

chrissearle’s picture

Just watching this one - installed a brand new 6.3 - this is the only extra module - and yes - no terms appear in the menus :(

TSE’s picture

same thing here :(

thelocaltourist’s picture

Just checking in - I'm planning on going live with my site next week and need to have the menus working.

Thanks!

TSE’s picture

Status: Active » Needs review
StatusFileSize
new11.29 KB

as posted here http://drupal.org/node/245199 the problem ist a single missing line in taxonomy_menu.inc

SO USE THE Dev version (6.x-1.x-dev 2008-Apr-15) and then insert a line after Line 189...

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

New:

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

or replace your taxonomy_menu.inc with the attached one ! Remember to rename it from taxonomy_menu.inc.test to taxonomy_menu.inc

ThX for EugeneX15 for the fix

TSE

chrissearle’s picture

Confirmed (took dev version and made the one line change).

Just need to go re-apply the fix for http://drupal.org/node/220803 now :)

thelocaltourist’s picture

Thanks - I already had that inserted. I disabled Taxonomy Filter and now it's working again. Don't know if they're related or not.

pengi’s picture

I've never used taxonomy menu, so I am not sure what to expect. But I've modified the inc file as below, and don't see any change on the menu creation or edit pages. I'm expecting some kind of list of taxonomy terms to appear where path is listed, or something akin to that. What else should I be looking for? It is the dev version for 6.x, and no other taxonomy related modules are installed.

$items[$path] = array(
'access arguments' => array('access content'),
'description' => t($term->description),
'file' => 'taxonomy_menu.inc',

TSE’s picture

Disabling the taxonomy term in the taxonomy_menu settings, save, and enabling it again will help.
You now should see all your vocabs as submenu items. Looks like it had to reload the whole thing.

Greetz TSE

PS: have to say that im also using DHTML Menu, dont know if this is also a must have ?

pengi’s picture

Thanks TSE. I disabled the taxonomy vocabulary in tax menu, and saved, and reenabled. I don't see anything different in menu item add or edit forms...except perhaps that I'm not sure if they said things like "The ID for excluding or including this element is: edit-menu-description - the path is: admin/build/menu-customize/menu-testmenu/add" before.

You said "You now should see all your vocabs as submenu items". That means when adding or editing a menu item, the path should be a dropdown list, with those terms listed?

I have DHTML Menu on.

pengi’s picture

Something else I just discovered is that instead of breadcrumbs I get Array » Array with at least stories. I turned off taxonomy menu and the problem went away. I will create a separate issue for this unless it's already in the list.

rares’s picture

clearly the problem with the terms not showing is because of the security upgrade to the menu system in 6.3. In my opinion, this issue has been fixed and 'access arguments' => array('access content'), can be added to _taxonomy_menu_menu() and committed to CVS as such.

rainer_f’s picture

Patch works for me - but only together with #8

moshe weitzman’s picture

Status: Needs review » Fixed

this looks fixed to me

capellic’s picture

In response to #8. I also had to clear my cache before it would show up.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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