Comments

jpontani’s picture

Assigned: Unassigned » jpontani
jpontani’s picture

Status: Active » Needs review

Committed to dev.

Details:
- Added an entity ref field Organizers that references Users
- form alter that will default the Organizer field to the current user on node creation/edit, if the Organizer field is empty
- hook_update_N that updates all existing Events to fill out the Organizer field with the event's creator
- added a view for Organizers, and put that view pane in the Events panelizer config
- slight change in logic for adding event creator as an attendee by default

http://drupalcode.org/project/commons_events.git/commit/37c24de

japerry’s picture

StatusFileSize
new139.81 KB

works pretty well for me, just needs some theming love:

ezra-g’s picture

Status: Needs review » Needs work

Thanks, jpontani!

One slight tweak here is that we shouldn't display the text of the contributors' names in order to be consistent with other listings of user avatars. Ideally, we'd use the same hover treatment we use on the group teaser, which is achieved with some Views field rewriting. Otherwise, removing the usernames would be sufficient.

jpontani’s picture

Status: Needs work » Fixed
Zarabadoo’s picture

Automatically closed -- issue fixed for 2 weeks with no activity.