Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I'm building a userlist. It would be really great to have the groups of a user listet aswell, so that it would look like this:
======================================
|Name | E-mail |Groups |
======================================
|User_1 | test@gmail.com | group1,group2 |
|user_2 | test2@gmail.com | group3 |
======================================
From what I've seen this is not possible yet, would though really facility use.
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedNot possible indeed. The best I could do is below. It lists a row for each user+group combination. It would help if someone pointed to an example field like this in some other part of Views.
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedComment #3
moshe weitzman CreditAttribution: moshe weitzman commentedi think we need to so whatever is decided by cck/views at #306604: Views relationships broken with 'group multiple values'
Comment #4
rapsli CreditAttribution: rapsli commentedthanks. This works. It would though indeed be nicer if there was a direct way => as a field
Comment #5
rapsli CreditAttribution: rapsli commentedGuess I was wrong:
Instead of
======================================
|Name | E-mail |Groups |
======================================
|User_1 | test@gmail.com | group1,group2 |
|user_2 | test2@gmail.com | group3 |
======================================
I get
======================================
|Name | E-mail |Groups |
======================================
|User_1 | test@gmail.com | group1 |
|User_1 | test@gmail.com | group2 |
|user_2 | test2@gmail.com | group3 |
======================================
this is though not the point :( Any other solutions?
Comment #6
moshe weitzman CreditAttribution: moshe weitzman commentedWe need a patch for this field that does what 'Group multiple values' does for CCK. That is implemented at http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/cck/include.... Help wanted.