Hi, great module! :)

I've tried to use it on node creation pages where OG is on. If I'm a group admin, the audience list is a long select showing first the groups I'm in, and then all other groups. Betterselect shows it as to 'Array' entries instead of two groups of checkboxed entries (see screenshots). Any chance you could look at how to handle this, would be great. Thanks!

CommentFileSizeAuthor
Picture 2.png33.31 KBalex.k
Picture 1.png19.92 KBalex.k
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alex.k’s picture

Pasting HTML source of how it is rendered by default, the plain select list. Maybe it would give you clues...

<fieldset id="fieldset_groups" class=" collapsible">
	<legend><span>Groups</span></legend>
	<div class="form-section" id="edit-og-groups-wrapper"> 
		<label class="title" for="edit-og-groups">Audience: </label> 
		<p class="description">Show this post in these groups.</p> 
		<div class="select"> 
			<select name="og_groups[]" multiple="multiple"  class="form-select og-audience" id="edit-og-groups" >
				<optgroup label="My groups">
					<option value="72">Configuration Management</option>
					<option value="2961">Demonstration Group</option>
					<option value="2">Site Members</option>
					<option value="83">Test group - open</option>
				</optgroup>
				<optgroup label="Other groups">
					<option value="3520">Communities of Interest</option>
					<option value="507">Darren Test Group</option>
					<option value="2995">DarrenRegularUserGroup</option>
				</optgroup>
			</select> 
		</div>
	</div> 
	<div class="form-section" id="edit-og-public-wrapper">
		<div class="checkbox"> 
			<label class="option"><input type="checkbox" name="og_public" id="edit-og-public" value="1"   class="form-checkbox" /> Public</label> 
		</div>
		<p class="description">Show this post to everyone, or only to members of the groups checked above. Posts without any groups are always <em>public</em>.</p> 
	</div> 
</fieldset>
lpt6’s picture

i encountered the same problem. pls help as better select is really useful

vesapalmu’s picture

I have exactly same problem with OG + better select. For now I had to disable better select. :-(

Mark Theunissen’s picture

Title: Incompatible with hierarchical select from Organic Groups audience picker » Support for hierarchical select from Organic Groups audience picker
Category: bug » feature

In the latest -dev release, the better select module will not break select boxes that it can't convert properly. So you won't see this problem, but you won't get the select boxes either.

This is a similar issue to the following: http://drupal.org/node/341598.

I will look into supporting these multi-multi-select boxes (for want of a better term) in the near future. Thanks!

frankcarey’s picture

any updates on this?

kepford’s picture

I am also interested in the OG support for this module.

Darrin Southern’s picture

has there been an update to solve this issue ?
I too find that users are confused with the 'array' to select multiple items, rather than the checkbox.
I've installed and configured Better Select, but the Audience option is still an array . . .

AntiNSA’s picture

Issue summary: View changes

I need this for og d6