Closed (fixed)
Project:
Taxonomy Super Select (TSS)
Version:
5.x-1.5-1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2007 at 00:28 UTC
Updated:
7 Jul 2010 at 14:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
eigentor commented+1 by me.
It's pretty hard to figure out that something is hidden under one little word with a small arrow at its side.
Comment #2
Rob T commentedI noticed that in at least one instance, the field set was expanded if I defined that taxonomy as being "Required". So I snooped around...
On line 192-193 of taxoxonomy_super_select.module, the code states:
I changed that to:
In my brief testing on non-live 5.5 site, all the field sets are expanded even if the vocabulary is not required. If I notice anything hairy, I'll chime back in. I'd love for there to be an option in the admin's "edit vocabulary" screen for this.
Alternatively...
Modifying this line on Line 197 will eliminate the Super Selects field set's collapsibility.
'#collapsible' => TRUE,to
'#collapsible' => FALSE,Comment #3
nancydruThat is correct. If the vocabulary is required, the fieldset would be expanded. If it is not required, it is not. IMO, this is the way it should be. I would be possible to add a setting to override this if enough users really want it.
Comment #4
nancydruNo further information.
Comment #5
MBroberg commented+1 for the option to decide per form. Some forms need it expanded and some don't.
Depends on how big the form is and how smart the user is. ;)
Comment #6
karljohann commentedIs it possible to do this just so the taxonomy itself is not collapsed? That is, all the "root" categories are visible.
Comment #7
mherchel+1 on having the option to choose if it is expanded by default
Comment #8
tallsimon commentedplease add setting, would like to have this option thank you
Comment #9
doublejosh commented+1, so I suppose one of us needs to do it now.
Comment #10
broonI've created a short patch to display an extra option on vocabulary edit page to collapse the fieldset by default. Patch is attached. Please review.
Regards,
Paul
EDIT: Patch contains an option to choose whether this new collapse option may still be overridden by required vocabs, see code lines 159ff. in .module file (after applying patch).