I was creating a View for a listing of gamertags but when I used User:Xbox Gamertag in Views,
the output was the actual gamercard rather than the gamertag.
Is there any way to make this display gamertag only?
Thanks
I was creating a View for a listing of gamertags but when I used User:Xbox Gamertag in Views,
the output was the actual gamercard rather than the gamertag.
Is there any way to make this display gamertag only?
Thanks
Comments
Comment #1
pobster commentedHmmm... This is why I hate implementing stuff which I'm never myself going to use, I end up just doing exactly per the request without actually putting any thought into what else may be desirable...
For this release (2.6) you'll need to alter this line in: plugins/views_handler_field_user_gamertags.inc;
return theme('gamertags_render', $account);Obviously just return the text and don't pass it through the theme function.
I guess I can add a checkbox in the Views field settings but I'm not going to have any time until probably... Tuesday? Just literally walking out the door right now.
Pobster
Comment #2
pobster commentedIn dev for testing. Will possibly commit a 2.53 release on the back of this - it's a good suggestion! I'm not keen on the tokens now though, they need a text solution as well... May do this first before I tag, still dev looks good at the moment!
Pobster
Comment #3
pobster commented