Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Drupal Views code to always show profile fields from the same user together #16

Closed
tog22 opened this issue Jul 31, 2015 · 2 comments

Comments

@tog22
Copy link
Owner

tog22 commented Jul 31, 2015

The issue is that this doesn't happen when the fields are under separate 'profiles' (sections, like 'Donations' and 'You and EA') at http://effectivealtruismhub.com/admin/structure/profiles . For an example of what goes wrong, see http://effectivealtruismhub.com/user/profiles/offers . (If someone'd like to write a better description of this issue that'd be great!)

This would be a big contribution to the Drupal community too. There's bound to be ample discussion of it on drupal.org, especially the issue queues for the Views and Profile 2 modules, so I'd start by searching there.

I can expand on all this if someone's prepared to commit to doing a fair bit of work on this.

@william-r-s
Copy link
Collaborator

I think I figured out how to do this in (at least for the offers page: http://prntscr.com/8370s1). Under Format/Format/Settings on the view edit page, there's a spot to select a grouping field (you also need to hide the grouping field you use by using the Exclude from Display option under the field settings in Fields). Does this solve the issue you were thinking about?

@tog22
Copy link
Owner Author

tog22 commented Aug 12, 2015

Applied this (well found) fix to the live site: http://effectivealtruismhub.com/user/profiles/offers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants