Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1077001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:30:39+00:00 2026-05-16T21:30:39+00:00

Briefly: I’m making a custom view, I want a field listing the two taxonomy

  • 0

Briefly: I’m making a custom view, I want a field listing the two taxonomy terms associated with an NID to output as two distinct links which return arguments for the view (term1 to view/term1, term2 to view/term2. Rather, it outputs as one aggregated link (both term1 and term2 output view/term1%0Aterm2.

Am I doing something wrong or is this not possible?

Exhaustively:

I am constructing a view of products (with the page output at http://example.com/products) in an drupal ubercart site because the built-in ubercart catalog psuedo-view isn’t doing it for me. Some of these products belong to more than one taxonomy term (within the same vocabulary) – for instance, product_example1 belongs to terms blue and glowinthedark, product_example2 red and glowinthedark, product-example3 just blue.

I’ve created an argument which limits the view based on terms like so: products/red, products/glowinthedark etc returns this nice view I made but only with products which are associated with taxonomy terms red, glowinthedark, etc – so works as it should. Views is awesome!

Now, I want each product shown in this view to link to the generated product/[term] page(s). Outputting the field “taxonomy:all terms” as a link with replacement argument products/[tid] works for one term (product_example3’s field works for its one term: /products/blue (views is awesome!) , but, AND HERE’S THE PROBLEM, it DOESN’T FOR TWO TERMS (or I assume more than two terms). This is true whether the field is output as a list or using a simple seperator. So, for product_example one, the field lists both terms blue and glowinthedark (correctly separated as list items or with the chosen “,” simple separator), but both terms output the relative link products/blue%0Aglowinthedark.

Is that clear? I haven’t been able to google anyone with a similar situation, strangely, although I can’t imagine I’m the first to run into this. I may just give up since it’s not all that important and I can think of several less-satisfactory but still doable workarounds, but I thought you all might have some insight. The only thing that gives me hope is that when the “Link this field to its term page” check box is selected, views successfully outputs two separate line items with links to the two separate terms’ pages.

I’m also posting this question on Drupal.org. Thanks for your time!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:30:39+00:00Added an answer on May 16, 2026 at 9:30 pm

    Hmmm… strange. I read your question carefully. However I am getting the results that you desire!

    • I have a taxonomy vocabulary that is multiple select (lets call it “Sector”)
    • I have a taxonomy vocabulary that is single select (lets call it “Location”)

    In my fields section, I add Taxonomy: All Terms

    • In the settings for Taxonomy: All Terms I select “Output this field as a link”. In there, I set the “Link Path” to product/[tid]
    • I make sure “Link this field to its term page” is NOT checked
    • I use a simple comma separator
    • “Limit terms to a specific vocabulary” checkbox does not matter. It would depend on your business requirements.

    As required by you I get products/abc, products/xyz etc. one after another on a single line. This works even if a particular node has multiple terms from the same taxonomy vocabulary. I don’t get any %0A stuff.

    This works out of the box for me. I tried with both views 2.11 and views 3.0-alpha3

    Try upgrading to the latest version of views and see if you have better luck?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First I want to describe my situation briefly. I have two classes, one MainClass
First i briefly want to know how you can use oauth works. What we
Well, let me explain this briefly: 1.I want to build a website that provides
I'll explain briefly what I want to accomplish from a functional perspective. I'm working
I'm going to briefly explain what I want my program to do. I have
I just want the cell to briefly highlight either with a UIColor or a
Briefly, I want to connect remote MYSQL firewalled database to my C# program I
Briefly I want to trace the url requests path of the $_POST. If you
here is briefly the problem I'm facing: I have built a custom Content Query
Briefly, I am trying to write a routine that reads comma separated values from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.