Thank you for writing this helpful module!

It would be nice to have an option that allows the administrator to decide whether or not category field groups are collapsed. It would also help if they stay open when the category is marked as required (as they are in the 5.x-version).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nocte’s picture

I think so too

vesapalmu’s picture

Status: Active » Needs review
FileSize
3.83 KB

I had the same need on two sites so I implemented it. A patch for DRUPAL-6--1 branch is included.

vesapalmu’s picture

Any news if this is going to get included in the module? I already have multiple sites using a patched version of module and it would be nice to know what is going to happen. Thanks.

rc2020’s picture

+1 for this, I have multiple taxonomy selector checkboxes for nodes, and it's a real hassle to have them all be collapsed, thankfully this is on a dev site because my users would never unexpand 5 different fields to get to the taxonomy selector. Is there any update when this can be integrated into the stable or dev release?

Please let me know...

Thanks!

P.S. What's the effectiveness of the patch? Has anyone tested it?

kmonty’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community
FileSize
3.01 KB
581 bytes

(I'm marking this as critical as I see this as an extremely important feature)

The patch seemed a little out of date (it broke my module). However, the code behind it works extremely well. I tested the settings and it works exactly as expected. Best of all, rolling it out into a release will not require any database updates.

+1

Attached are new patches

qriz’s picture

thx kmonty i just patched taxonomy_super_select-module-367659-2.patch to a copysite on my testserver and it works perfectly! and for people who don't know about patching i attached the patched module! hope it helps somebody ;-)
P.S. just copy in /sites/all/modules and look in taxonomy for new options.

doublejosh’s picture

Great. Thanks. Just dropped in the new version. Site was in development, so I didn't even have to disable the module since it was a code change. Everything seems to be working fine.

a_c_m’s picture

#5 works great

+1 for seeing this getting rolled into the current stable version.

No activity for a year makes me think this might be an abandoned module. Anyone willing to step up and take over? http://drupal.org/node/251466

nirad’s picture

is there any way to make the vocabulary uncollapsed so you can see the first level category names, but leave those categories collapsed? uncollapsing everything makes the form very long for me. but with the vocabulary itself collapsed, many users miss this part of the form and neglect to fill it out.

jcisio’s picture

Title: Switch for Category field groups to be collapsed or not » Switch for terms auto expanded or not
Version: 6.x-1.0 » 6.x-1.1
Priority: Critical » Normal
Status: Reviewed & tested by the community » Fixed

The terms auto-expanded part is committed. The other was fixed in #451746: Option to not place vocabularies within fieldsets.

doublejosh’s picture

I use this as my work around...

function myModule_form_alter(&$form, &$form_state, $form_id) {
	// all node forms
	if(!strcmp(substr($form_id,-9), 'node_form')) {
	    // expand several vocabs even if not required (within Super Select)
	    $vocabs= array('5','4','3');
	    foreach($vocabs as $v) {
	    	$form['taxonomy'][$v]['#collapsed'] = FALSE;
	    	$form['taxonomy'][$v]['#collapsible'] = FALSE;
	    }
	}
}

Status: Fixed » Closed (fixed)

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