Forgive me if my new-ness shows through here but:

In Drupal 6.0 beta:

-I've setup a taxonomy, with a term named: Doggies (for sake of illustration)

-I've got a link to "taxonomy/term/2" - all Doggies nodes - in my navigation menu.

-I've set up each individual Doggie node as a menu sub-item to the "taxonomy/term/2" menu item.

When clicking on the "taxonomy/term/2" menu item, I get the complete list of Doggies displayed in the main page, however the navigation menu doesn't expand to show the sub-items listed under it. If I click on one of the individual Doggies listed in the main page, then the navigation menu is expanded to show the items.

Is this a known bug, is there a workaround? I know there is an "always expand" option, but I don't want the menu always expanded.

My site, if you don't get what I'm saying, is: http://site2.buildering.net

Perhaps I'm barking up the wrong tree, but this seems to be the best way to organize content, that is: have a taxonomy term as the root menu item, with applicable nodes matching this term as sub-menu items. Please correct me if I'm wrong, or if there is a better way.

Comments

ms1’s picture

Hi

I had a similar problem of menus not expanding. I referred to a solution that worked for me. Try the following solution

http://drupal.org/node/66152#comment-238535.

As for your approach, frankly I am also learning and cannot give you the best advice.

Thanks

ardarvin’s picture

I tried using both the full URL to the term, i.e.: http://www.mysite.com/taxonomy/term/2 , and the relative version...both no luck.

Oddly, this bug only applies when using a term as the root menu item. If I were to use a node as the root item, then things expand as they should.

Since it seems to be such an issue with 5.0, is this something that was perhaps fixed in 6.0, only not fully?

ms1’s picture

It happens at times that if two or more menu-items point to the same node (or term).

Refer to this thread http://drupal.org/node/87649, many people reported similar issue. (some even reported that even if two menu-items in different menus point to the same location, it causes this error)

ardarvin’s picture

Thanks, but I don't have any duplicate links.

I really think that it has to do with the fact that I'm using a taxonomy term as my root item. I'm assuming this is a bug with 6.0, and if so...where do I go about reporting it?

ms1’s picture

The drupal 6.x release page says

When testing this beta version you might find issues which were already reported. Please search for existing issues first before submitting a new bug report. If you can't find the exact issue you experience in the Issue Queue then feel free to open a new report and provide us as much information as possible to fix the issue. Include the exact error message, anything you have done which may lead to the issue and so on. Drupal 6 bugs can be submitted in our issue tracker.

But I still feel, it is something trivial. Because I also use a taxonomy term as a root of a custom menu, but I did not get this issue. Also menu is just a collection to point to a certain location, which could be anything like a taxonomy term, a node etc.

In 5.x, I should not use full paths for any menu item (parent or child). So a path of http://mysite/taxonomy/taxonomy/term/29 will only be written as taxonomy/term/29.

But I cannot speak with certainity for 6.x. Also if you find something new, then please update this thread.

Regards

ardarvin’s picture

Could I get a confirmation from someone using Drupal Beta 2, with a taxonomy term as a root menu item in the default navigation menu, that does or does not see this behavior?

samwarren’s picture

If you have two terms: term/1 term 2, as sub-menu, the parent menu link should be:
taxonomy/term/1 2
with a space in between. Do not use 1+2 as instructed in the handbook.

I am running Drupal 6.6.

Question: Is this by design (using term/1 2 instead of term/1+2 for OR operation)? From what I read here, people still say using "term/1+2" to list all for "term1 OR term2". When you assign an alias, the "term/1+2" is automatically changed to "term/1 2".