Of the two vocabularies on my node form, one of them displayed as checkboxes using taxonomy super select, the other just uses the default dropdown box. The problem with the checkboxes, is that taxonomy super select nests the vocabulary within a general collapsable fieldset and then within it's own collapsable fieldset.
It lacks the typical field label and ruins the continuity of the form. It's an eye sore and it's getting in the way of theming my forms to be as simple and small as possible. There's no reason for taxonomy super select to display vocabularies in their own seperate fieldsets.
Is there something I can do about this now?
Comments
Comment #1
martysteer commentedI agree, there should be some configurable display options for this module.
Comment #2
francewhoa+1 for this new feature
Comment #3
darklight commentedAny advances on this feature?
Comment #4
talino commentedI've tried a zillion ways to modify that behaviour through form_alter, either through a custom module or template.php, but weirdly enough the fieldset doesn't show up in the array when I do print_r($form). Has anyone managed to find the correct way to modify the form? All I need is to set #collapsed & #collapsible to FALSE. If, in the module itself, I change the TRUE values in lines 150 & 160 to FALSE, it works like I want it to, but I can't find a way to do this without modifying the module.
Comment #5
capellicThe right way to do this would be to write a patch that creates a configuration screen so that we could set the #collapsed and the #collapsible values at lines 150 and line 160 just like @talino says. Otherwise, just edit the module. I like to alter the .info file of modules I modify to indicate in the description var that the module has been changed from the official release.
Comment #6
talino commentedThis finally worked for me in my custom module, but only after I changed the module's weight in the system table to higher than TSS (easy to do even for a newbie like myself). Note that the following checks for two custom content types, article and document, and only changes those. You can drop the switch statement altogether if you want to alter every form.
Don't modify modules directly :)
Comment #7
capellicHere's the CSS that I applied to my theme's CSS file after I had removed collapsed and collapsible. While applying this CSS snippet won't make your TSS output look exactly like the attached screenshot, it will take care of the layout.
Comment #8
muhleder commentedWould love to see this too, subscribing.
Comment #9
yrre7 commentedSubscribe
Comment #10
doublejosh commentedsubscribed
Comment #11
cyberwolf commentedSubscribing.
Until this is implemented I'll stick to the alterform module of which the code can be found here: http://drupal.org/node/84286
Comment #12
doublejosh commentedThis (#6) worked for me as well, but yes: have to set the module weight higher (as in numerically higher, not before) for it to work.
Comment #13
jcisio commentedThis patch adds an option in the vocabulary settings page.
Comment #14
jcisio commented