Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.9
Component:
table style
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2010 at 14:55 UTC
Updated:
17 Nov 2011 at 11:51 UTC
Hi,
I would like to combine in a view two fields (name and last name) into one column with only one link to its node.
I choose the table style in basic settings.
I put the two fields (name and lastname) in one column with a comma as a separator so the table looks like
name1, last name1
name2, last name2
Now I would like "name1, last name1" link to its node, but I don´t succeed.
Two links are shown separated by a comma: "name1" and "last name1"
Any idea how to do it?
Comments
Comment #1
bolecha commentedAny idea?
Comment #2
dawehnerIntead of using the feature in the table you could use "rewrite output of this field" and "output this field as link".
When you add the second field to the first field via the first feature and define a custom url via the second feature you can manage to do it.
Comment #3
bolecha commentedThank you very much. It works!
Comment #4
goodboy89 commentedThank you "dereine".
It's work great !
Comment #5
varuntaliyan commentedWorked for me as well ...:)
Thank you dereine.
Comment #6
giga-b commentedIt works but, if B field is empty no results are showed.
example:
A (hidden)
B (A+B)
A=x , B=y RESULT on B=x y
A=x , B=empty RESULT on B= empty
Thanks
Comment #7
giga-b commentedSOLVED!
i only have to show in B the A result if B is empty.