Needs work
Project:
Real Name
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Mar 2012 at 18:16 UTC
Updated:
7 Nov 2015 at 17:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
grasmash commentedAttaching patch to support this.
It was necessary to create a new views handler class, add it to the files[] array in realname.info, and expose it via hook_views_data_alter().
Comment #2
grasmash commentedOne thought-- we may want to make this override optional by modifying options_form() in the views handler. I'd be happy to make this change if 1) you'd actually like to commit this feature, and 2) you think the option is a good idea.
Comment #3
grasmash commentedChanging version. The patch was rolled against 7.x-1.x from git repo.
Comment #4
kaztur commented#1 works for me.
Great Thanks, madmatter23!
Thousand pities that this code doesn't put the same profit for 'User posted or commented' and 'Comment: Author uid' contextual filters! :(
Comment #5
phiscock commentedThanks. That patch worked perfectly and did just what I needed. Hopefully it can be committed soon.
Comment #6
jgullstr commentedWorks as expected. Thanks!
Comment #7
Anonymous (not verified) commentedIs anyone able to tell me how to use this feature? How do I make %1 output the realname instead of the stock user name? Was this patch rolled into 7.x-1.2? Thanks!
Comment #8
hass commentedSounds like a dup of #1239478: How to display a user's username (not real name) in Views once RealName is enabled?
Comment #9
lomsdalen commentedHass, not really. I would say that they are totally different...
Comment #10
hass commentedPlease add tests so we can verifiy this works and it never breaks.