Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2008 at 13:19 UTC
Updated:
29 Sep 2009 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
Jonasvh commentedsubscribe
Comment #2
merlinofchaos commentedYou can accomplish this through theming.
Comment #3
vesapalmu commentedYes, I know that you can do this with theming. In my opinion it would make the user interface more consistent to enable links also for profile fields. I don't think I'm the only one who wants to make views of users and link their profile fields to them.
Comment #4
merlinofchaos commentedWhat I'm finding is that a lot of people want to link to <foo> and the list of <foo> is actually quite large. Sometimes it's closely related, sometimes it's not. The eventual answer is that Views needs a real answer for generating links to data and adding a bunch of hardcoded "link to this user" isn't the answer, because the desired list is so big. So for the moment, the answer is "You get to theme it" until a real solution can be added in.
Comment #5
joachim commentedmerlinofchaos, as far as I can tell this is a one line patch!
Set profile module fields to use views_handler_field_user instead of views_handler_field.
This makes perfect logical sense -- views_handler_field_user is a generic field handler for user-ish fields, just as views_handler_field_node is a generic handler for anything node-like.
Hey presto, an option to link to user!
Comment #6
merlinofchaos commentedWell that's pretty easy, I guess. Committed!