I have a path auto setting for a taxonomy vocabulary categories.

I created a view of taxonomy terms of type category and set it to display fields as a jump menu. I then went into rewrite results and set the path to category/[name]

It would not rewrite the path, I also set it to use dashes for spaces and tried with and without the setting that said use this to rewrite output.

Comments

Luca Cattaneo’s picture

I've the same problem.. :-/

katebron’s picture

I am also having a problem with Views not rewriting the results when using a jump menu. I want to link the taxonomy vocabulary listed to another view.

It will rewrite in an html list, but once changed to jump menu it will ignore the "path-of-view-name/[tid]" and go straight to the "tid".

I've created a global text field and put the path in there, and changed the jump menu settings to use the global text as the path, but this doesn't work either.

Any suggestions?

nepr1971’s picture

Version: 7.x-3.3 » 7.x-3.5

I'm also fighting with this problem which persist in 7.x-3.5.
Does anybody have an idea on how to make a workaround?

nicxvan’s picture

You have to make sure the formatter is set to plain text for rewriting to work. Otherwise it links to the default tax page.

clayevans’s picture

THANK YOU!
That worked for me.

adam_b’s picture

Title: Rewrite results on taxonomy term doesn't work through default fields » Rewrite results on taxonomy term doesn't work in jump menu
Version: 7.x-3.5 » 7.x-3.6

I'm having the same problem in 7.x-3.6.
I'm not sure what nicxvan is suggesting in #4 - I don't see any formatter which can be set to plain text?

I need to use tokens - <a href="/buildings//[vname]/[tname]-[tid]">[name]</a> is just giving /[tname]. This happens whether I write the whole path in the rewrite field (as above) or use the "output field as link" setup. This works fine in other display formats, but not in jump menus.

nicxvan’s picture

Near the top of the add field piece there is an option to have the taxonomy field formatted as plain text or as a link. You need to select plain text.

adam_b’s picture

Thanks nicxvan, but I still can't see such an option... am feeling very stupid. Could I ask you to attach a screengrab of the relevant bit?

ETA: I'm using the "Taxonomy term: Name" field - are you using another one?

nicxvan’s picture

It seems like some newer version of Views removed that because I can't see it any longer either.

jantoine’s picture

Version: 7.x-3.6 » 7.x-3.x-dev

This is still a problem in the 7.x-3.x branch. A workaround is to add a hidden 'Global: Custom text' field and set as it's value the token for the re-written taxonomy term id. Then use the 'Global: Custom text' field for the jump menu's path field.

decibel.places’s picture

Issue summary: View changes

@jantoine
Global: Custom text with display hidden didn't work; nothing showed up in the jump menu. It's unnecessary.

My setup: Entity Translation, Views Core Translation
Pathauto pattern for Vocabulary: topics/[term:i18n-vocabulary]/[term:name]

I use the Relationship: Taxonomy term: Entity translation: translations
Then for the term name: Taxonomy term: Rendered Taxonomy term

I added the field Taxonomy term: Term ID and hid that - but set it for the Jump menu path
I rewrite its results: taxonomy/term/[tid]

Works for me, in all languages, with a human readable path, not the tid number :)

Example, for term "Institución microfinanciera"
The path after the Jump menu is "es/topics/institución/institución-microfinanciera"

griz’s picture

I've just stumbled into this problem as well.

Relationships aren't necessary for this.
As mentioned above, add Taxonomy term: Term ID as a hidden field. Change the 'Thousands marker' to 'none'.
Rewrite the field tp 'taxonomy/term/[tid]'
Then in the Jump Menu format settings, select your Term: ID field.

The thousands marker was causing me issues on any term with a TID over 1000.