I'm building a rather heavily themed view for a design portfolio on a new site. For each "Portfolio Piece"-type node, the view displays the associated image, node title, body, and a list of all taxonomy terms associated with the node (as tags, and each node has at least three). Using arguments and a standard Drupal menu next to the view, the user can filter the view's results down to one taxonomy term. Right now, I have the terms set to link to their own Drupal taxonomy term page (e.g. taxonomy/term/8), but I'd like to be able to keep the user within the portfolio view when they click on a term. Therefore, I want to be able to output each individual tag as a link to the portfolio view with itself as the argument, like this:

Tags: healthcare [links to example.com/portfolio/technology, where technology is an argument passed to Views], Acme Hospital [links to example.com/portfolio/acme-hospital], brochure [links to example.com/portfolio/brochure]

I already tried using the "Output this field as a link" option with a path of portfolio/[tid], but that just gives me one giant link like this: Tags: healthcare, Acme Hospital, brochure [links to example.com/portfolio/healthcare, Acme Hospital, brochure]. The other method I tried was using the Taxonomy: Term field, and while outputting that as a link works correctly, it only outputs one term for each node.

Is this even possible (with or without the case transformations like Acme Hospital to acme-hospital)?

CommentFileSizeAuthor
#1 tax_test_view_export.txt3.21 KBAnonymous (not verified)

Comments

Anonymous’s picture

StatusFileSize
new3.21 KB

I setup a test view to see what was happening and got the same results as you described. I did, however, manage to use the 'Grouping field' option to group node titles together when using the 'Taxonomy: Term' field, effectively giving the output you want (one node title, followed by terms that link to themselves).

I've attached the view export so you can see exactly what I did. Hope that helps.

tobey_p’s picture

Subscribing

peterjmag’s picture

Thanks for the view, BWPanda! I'm still playing around with it (and this issue in general), but I stumbled across something that might be helpful, so I figured I'd cross reference it here... The Taxonomy Redirect module

I haven't even downloaded the module yet, but its description seems to match what I want to do (albeit in a slightly roundabout way). Once I get a chance to install it and mess with it, I'll post back here.

Anonymous’s picture

Status: Active » Fixed

Marking as fixed.

Status: Fixed » Closed (fixed)

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