Download & Extend

CiviCRM Subscribe Settings: checkboxes instead of select box

Project:CiviCRM Subscribe
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:Unassigned
Status:needs work

Issue Summary

After loosing my selection the second time because i clicked on the wrong place :) I changed the Settings interface to use checkboxes. This could be a bit space wasting if there are hundreds of groups, but then also the select box is probably not very user friendly. They could also be wrapped in a collapsible fieldset.
Additionally, in my patch the url to the signup page is shown behind the enabled groups to avoid checking CiviCRM for the ids.
I don't know if people are interested in these changes, but I thought I'll share them...
Please note that the patches from #999822: Compatibility with CiviCRM 3.3 and #999834: Empty form submission problem where applied before creating this patch file.

AttachmentSize
settings_checkboxes.patch2.34 KB
admin-settings-civicrm_subscribe.jpg17.15 KB

Comments

#1

Status:active» needs work

Can you re-roll the patch with the other patches separated out? Thanks, that will make it easier to review.

#2

I attached a new patch without the other patches.
Please beware that I didn't check the impact of the changes on the subscription blocks in detail as I was not using them so far.

AttachmentSize
settings_checkboxes.patch 3.68 KB

#3

@thomasf
This functionality is already part of the webform civicrm integration module. :)

#4

@thomasf:
I wonder if actually the Better Select module might be a better solution for this, since multi-select does have the advantage of handling a lot of options well. I'll see whether that module can do the trick, and if so, I will mark this "won't fix" in favor of that as a solution.

@colemanw:
thomasf is referring to the settings form for the module, not the user-facing form? Is that what you're talking about as well.

#5

In webform_civicrm, the "backend" settings render as checkboxes. The user facing form can be rendered either way, but defaults to checkboxes.

#6

Version:6.x-1.0-beta2» 6.x-1.x-dev

I would commit this if you can confirm that it works with the subscription blocks. Alternatively, if you want maintainership of the module, I could give that over to you, since I no longer use CiviCRM.

nobody click here