Hi everyone,
I have installed taxonomy menu module and the menu generated is ok, when I click the link displayed is like "taxonomy/term/tid tid tid...." . Then I tried to use a cutomised view for all the link with "taxonomy/term/tid...tid..." tid used it as an arguments.
In the page settings of the view I used this parameter "taxonomy/term/%" to use the argument defined for the tid.

The problem is everytime I saved the view my menu disappears, and when I write a URL like "taxonomy/term/tid" it's showing the view...

Is there any way fix this problem, I mean get the menu working with the view ?

Thanks,

Comments

indytechcook’s picture

Status: Needs review » Active

Keep the path type as 'default' and then the view will work. What this means is that if you want a different view for different vocabularies you can. The base path in the view's path ('category/%') must match what you have in the 'base path for custom' setting.

See this from the documentation page: http://drupal.org/handbook/modules/taxonomy_menu

Views Integration suggestions.
VIEWS WITH MENU PATH TYPE: DEFAULT

  • The default view is 'taxonomy_term (default)'.
  • The path of the view is 'taxonomy/term/%', the argument is 'Term ID (with depth)' and 'Depth Modifier' - but only TERM ID will be passed as an argument. This view can be changed - but it is recommended to use the option MENU PATH TYPE: CUSTOM for individual views.
jponch’s picture

I'm experiencing this same problem and have not been able to find a solution so have essentially given up on using the module. Here's what I tried (that all failed):

  • Enabled the default drupal taxonomy view and simply added my fields to it, leaving it's path setting as it is by default to "taxonomy/term/%"
  • Enabled taxonomy menu module and then navigated to the vocabulary I wanted a menu for and selected the "default" setting for the menu path type and selected my primary links menu. I check to build on submit, and after saving nothing happens. However, if I disable my taxonomy view the menu then appears, so I know it's got something to do with the view. Also, when I disable my taxonomy view and the taxonomy menu appears, I noticed that the links in the taxonomy menu are not using any of my pathauto aliases.
  • I then tried editing the page display path for my taxonomy view and making it category/% and then using category as my custom base path in my taxonomy menu settings - again, no go.
  • I read and reread the help found at http://drupal.org/handbook/modules/taxonomy_menu but found nothing that explained how to solve my problem - in fact, it made it sound like what I first tried should have simply worked.

I was using Drupal 6.9, Views 6.x-2.3, and Taxonomy Menu 6.x-2.3

indytechcook’s picture

Enabled the default drupal taxonomy view and simply added my fields to it, leaving it's path setting as it is by default to "taxonomy/term/%"

This should have worked. It's what I did for testing.

I realize after a month or so of the first stable release, that using views with this is not as intuitive as I had hoped. My goal was to give ultimate flexibility but I did that to the cost of usability. Given the new push make drupal more usable, I am looking for suggestions about how to make views integration easier.

indytechcook’s picture

@sprocketjared

I thought about this a little more. I would like to look into your situation of why the default taxonomy view didn't work.

What was the taxonomy Path set to?
Did you try the default taxonomy view before making any changes?

I really want to help get this fixed.

Heilong’s picture

Hi,
I updated to the last dev version 6.x-2.x-dev, the problem is solved but another problem is now I get an error message "Menu and taxonomy name mismatch...", by the way for more information :
- taxonomy path : taxonomy/term/%
The view I created is based on the default taxonomy_term view, I used it just for the arguments.
Thanks for your help,

ksc’s picture

I just updated the README.txt for Taxonomy Menu.
May be that´s going to help. See: http://drupal.org/node/428004#comment-1455588

I suggest to use the 6.x-2.3 version and MENU PATH TYPE: CUSTOM to have individual views.
It works fine with my installation.

indytechcook’s picture

Status: Active » Closed (fixed)

@Heilong

This is because of a bug from a i18n patch from here: http://drupal.org/node/316632#comment-1441076
If you disable i18n menu or the "item for vocabulary" setting then you wouldn't have the error.

I'm marking this issue as closed. watch the other issue for an update.

jponch’s picture

I thought about this a little more. I would like to look into your situation of why the default taxonomy view didn't work.

What was the taxonomy Path set to?
Did you try the default taxonomy view before making any changes?

I'm not sure what you're asking with the first question regarding what the path was set to. Could you clarify? The taxonomy view was using "taxonomy/term/%" for the path setting in my view.

In response to the second question - yes - we attempted to simply disable my modified taxonomy view and revert back to the default drupal taxonomy view, but that did not correct the issue. The site is now in production using the vocabindex module, but we'd love to be able to use taxonomy menus in the future so I would love to figure out the problem.