Possible Duplicate:
Views: How can I show a list of users who have a taxonomy term attached via a term reference field?

i want to assign users profile in taxonomy terms. So, i have created a vocabulary like Gender which has two terms like Male and Female. So, while registering an account in my website people need to choose his/her gender, and i wish if other people click on those terms from some one profile page, for example if they click on Male then on the taxonomy page all profiles with Male will get appear and same for other terms. But i see no result on those terms pages, to find a solution i have created a Views which successfully show users profile for each terms.
Now, my question is how to integrate the Views for the terms pages?
On user profiles how to link Terms pages to those Views page?

marked as duplicate by Patrick Kenny, niksmac, AjitS, Chapabu, kiamlaluno Jan 31 '13 at 15:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


By default, the taxonomy term view lists content (nodes) and not users. If you want to use a new view on the default term page path, taxonomy/term/%, you have to disable the default view, create a new one, and give it that path. But it will also be in use for your others taxonomy terms pages !

So my advice is to disable and ignore this view, give a path to your full working new view, and set your term path pattern for this vocabulary the adress of your new view's page.

More simply :

  1. Make a new view of users, set a "page" display and set it like this : /mypath/%
  2. Add a taxonomy term ID argument
  3. Add your fields
  4. Go to your pattern url alias setting page, and for your vocabulary "gender", set terms URL to /mypath/% .

Now, all gender terms on your site will be linked to that view.

  • the idea was great but it returns "There is currently no content classified with this term." on that views page after editing the term url! – rakibtg Jan 30 '13 at 17:01
  • 1. Is your view a view of users ? 2. Is your pattern yourviewpagepath/[term:tid] ? 3. Is your view's argument your term reference field ? – Gregory Kapustin Jan 30 '13 at 17:06
  • Yes, its a view of users. Should i put yourviewpagepath/[term:tid] in views path? sorry, i can't understand number 3.. learning drupal :)..Thanks – rakibtg Jan 30 '13 at 17:13
  • You created a view that works for users, as you said. Give that view a display "page", and that page a "path", ending with "/%" . Now in your URL pattern admin section, paste that path in the term of that vocabulary. – Gregory Kapustin Jan 30 '13 at 17:15
  • i got that .. so, the term page url is gender/male so i should put it in views URL pattern? but that case it do not works – rakibtg Jan 30 '13 at 17:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.