Closed (fixed)
Project:
Organic Groups
Version:
7.x-2.x-dev
Component:
og.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2013 at 01:35 UTC
Updated:
28 Mar 2013 at 09:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
jody lynnThis patch adds edit links to the Members Admin view and the edit forms. It includes the ability to change member roles on the edit form (see also [#1920632))
The code should be refactored to be merged/less redundant with the add membership form.
Kazanir, the other request about the Panels integration should be a separate follow-up request.
Comment #2
amitaibu@Jody Lynn, you are awesome! :)
Capital letter here and other comments.
Maybe add a comment, that we want only the non-default roles.
Why do we need it as autocomplete. I would assume it should be #markup
if ($og_roles)is probably enough.This will cause OG-membership's bundle to change. Not sure how Drupal deals with that (in terms of cleaning up fileds that don't exist in the different bundle).
Extra space "in group"
We'll probably won't need this on edit memberships. See above comment about the auto-complete.
Comment #3
jody lynnI removed the ability to edit the account of the membership as well as to change its bundle.
Also addressed other review items above.
Comment #4
amitaibuWhen I try to edit the "Request Message" of any group-member it doesn't change the value -- does it work for you?
Also, I think it would be nicer is we would be redirected back to the "People" tab after editing the membership.
Comment #5
jody lynnI added the destination setting to the view.
I brought back the field editing functionality by putting back $og_,membership->save(). Failed to test last time.
Comment #6
amitaibuAwesome! committed, thanks.