I have a node view that uses a 'Taxonomy: All terms' field. I would like those terms to link to their associated node.

Having spent a day trying to acheive this without modifying any code, I had to resort to creating a new views field and field handler, which basically does the same thing as 'Taxonomy: All terms' but replaces the 'link this field to its term page' functionality with 'link this field to it's node page'.

Has anyone else raised or addressed this issue? If not, any thoughs as to what the most elegant solution might be?

CommentFileSizeAuthor
#2 nat_views_taxonomy_all_terms.patch3.18 KBdjroshi

Comments

zacharycaplan’s picture

can you post your current solution?

djroshi’s picture

StatusFileSize
new3.18 KB

The following patch will add a 'Link this field to its node' option to the 'Taxonomy: All terms' views field.

angelmax’s picture

Hello,
thanks for this patch: I tested and it works as planned.

AM

Zen’s picture

Status: Active » Fixed

I've only given this a visual review. But I've committed this as is to 6.2.x based on angelmax's testing ...

Thanks for the patch :)
-K

Status: Fixed » Closed (fixed)

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

roxflame’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
Status: Closed (fixed) » Active

Hmm yes this is a feature that was used extensively on a D6 site which we are trying to port to D7. Really need this or an equivalent solution working somehow on D7!

Any help would be greatly appreciated.. Will consider paid solution!