My client is migrating from a custom OG based system to Commons, they have Migration scripts for all there groups already prepared, and will be running said scripts on a fresh install of Commons.

As such, this means that the enforced 'First group' that they need to make during the installation of Commons needs to be deleted as soon as it's been created. Instead, ideally they could just opt not to create the group at all.

Files: 
CommentFileSizeAuthor
#3 optional_first_group-2114755-3.patch1.74 KBjaperry

Comments

Status:Active» Needs review
StatusFileSize
new1.85 KB

Just a simple solution, make the group title and description not required, and if the title is empty then don't make the first group.

Haven't got any validation for what happens when the group isn't empty but the description is, so might need work.

Possibly even make it a checkbox to toggle whether or not to make a first group, which hides the fields if it's checked, but I didn't want to delve into that as I don't currently have the time to dedicate to that.

I like this idea. We can also add a description field that says its not required and if blank it won't make a group.

Version:7.x-3.4» 7.x-3.x-dev
Assigned:Unassigned» Zarabadoo
Issue summary:View changes
Status:Needs review» Needs work
StatusFileSize
new1.74 KB

Here is a patch that adds a 'skip and continue' button. This patch works, but marking needs work and assigning it to Al to look better.

That approach won't work for anyone who wants to install via Drush SI or Aegir, as while it's possible to set form values, I don't think it's possible to set which button is pressed to proceed.

If anything, a checkbox should be provided on the page.