Vocabulary Path Not correct

bohz - March 23, 2009 - 16:27
Project:Taxonomy Menu
Version:6.x-2.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I apologize if this was answered before, but I could not find any hint on how to solve the problem.

After upgrading to version 2.x, the vocabulary page links (the ones that previously would lead to a summary page with the list of all content tagged within the vocabulary) were changed from "category/vid" to "taxonomy/term/". This path leads to 404.
I have disabled-uninstalled-enabled the module several times, each time updating DB tables and rebuilding menus on creation, but the problem persists. This also reproduces on newly created taxonomy menus.

What am I doing wrong? Shall I enable the Hierarchy and/or custom path submodules?

Is there a workaround to restore the path of the vocabulary menu item in order to link to a vocabulary page with title=vocab name, listing all content within the vocab?

Thanks in advance.

#1

indytechcook - March 23, 2009 - 20:06
Title:category/vid path changed to taxonomy/term/ on vocabulary menu item after upgrade from v. 1.02 to 2.x» Vocabulary Path Not correct
Status:active» postponed (maintainer needs more info)

Do you have any terms attached to that vocab?

For the vocab item it is supposed to use the path of 'taxonomy/term/tid tid tid tid' with all of the tid's for the vocab.

#2

Pevan - March 24, 2009 - 17:18

I've got the same problem like bohz: With the upgrade from version 1.02 to version 2.1 the "root" link for each vocabulary only shows "/taxonomy/term" which results in an 404-error.
I have a hierarchical vocabulary and no idea...

Thanks
Stefan

#3

indytechcook - March 23, 2009 - 21:27

Which path type are you using? What options do you have enabled? How Can I reproduce this?

#4

my-family - March 24, 2009 - 05:46

I have the same problem. Menu path type: Default. Terms and nodes are created, but Vocabulary path goes to 404.
(In addition: when I change the Menu path type to Hierarchy or Custom path, the whole menu disappears).
Thanks in advance for help.

#5

bohz - March 24, 2009 - 09:14

HI!

I have terms attached to the vocab (5 to 7). it's a single level hierarchy.

Actually, after the first upgrade to 2.x, the vocab path was indeed "taxonomy/term/tid tid tid tid", but since this path would output a vocab page which title clustered all terms together (not nice), I thought there was some kind of error.

So I went to unable-uninstall-enable the module several times, resulting in the path changed to "taxonomy/term/" only (please note the final slash).
I tried to enable the hierarchy and custom path sub-modules but I wasn't able to configure them in order to show something (the menus did not show up). So I disabled them.

I guess I have to clean up the DB tables (by hand?) once more.

Is there a way to have the vocab summary page titled with the name of the vocab, instead than with the list of terms?

Thanks a lot!

#6

indytechcook - March 24, 2009 - 12:28
Category:support request» bug report
Status:postponed (maintainer needs more info)» active

Thanks for the info. I'll get this fixed after work tonight.

#7

Pevan - March 24, 2009 - 17:25

I'm using the Menu Path Type "Default", but I have a German Drupal, so the Menu Path Type is "Standard". It is the only available Menu Path Type on my system.
In addition to my post i made last night: In Version 2.1 the "Item for Vocabulary", the menu entry for the "root" of the vocabulary, will not expand, instead the 404-error occurs.

Thanks for your help
Stefan

#8

indytechcook - March 25, 2009 - 02:15

Ok guys. It seems that an untested patch made it's way into the stable version. I was testing a patch from this issue and it made it into the stable commit. #408288: Add taxonomy items to any menu

Check out the newest stable and let me know. I apologize for the issues.

#9

my-family - March 25, 2009 - 07:21
Category:bug report» feature request

Thank you, it works now! I would have only one question: is it necessary to list all terms on the top of the resulting page (= page with the whole vocabulary) and also all tid´s in URL? It seems to me not very transparent and user friendly, especially if there would be many terms in a vocabulary. I appreciated the "old way", which i know from older versions (especially D5, mabe older D6 versions too), better: only, e.g., "category/3" in the URL, and the name of the vocabulary on the resulting page. Would it not be possible? Thak you once more, Eva

#10

Pevan - March 25, 2009 - 13:37

Now it works! Great!
Thanks again
Stefan

#11

indytechcook - March 25, 2009 - 13:49
Category:feature request» support request
Status:active» fixed

I'm glad this worked.

@my-family: Please see the documentation:

Taxonomy Menu does not handle the menu call backs. It only creates the links in the menus. This means that what every is displayed on the page (title, content, breadcrumbs, etc) is no longer controlled by Taxonomy Menu. While this is different then the previous versions, it gives you a lot more control over the page content. No longer do you have to hack the module to change how you would like something displayed.

There is an feature request open for someone to create a patch for the page callback: #407490: Default Page Callback for Taxonomy Menu

#12

System Message - April 8, 2009 - 13:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.