I'd settle for even a multiple-select form element. The only vocabulary I'm using taxonomy browser with is my freetagging category, and all that shows up at /taxonomy_browser under the "Categories" fieldset is the single drop-down select.
I'd settle for even a multiple-select form element. The only vocabulary I'm using taxonomy browser with is my freetagging category, and all that shows up at /taxonomy_browser under the "Categories" fieldset is the single drop-down select.
Comments
Comment #1
monkeythug commentedHi,
I had this problem too and I just found the solution! (After much stepping through the code, trying to understand how it renders this control, I might add - still I did get PHPEclipse debugging working which will probably be useful :-)
Anyway ...
You can get a multiple select listbox instead of a dropdown by editing the vocabulary and enabling the "multiple select" option. It says "always true for free-tagging" but that seems to be misleading.
I'm only guessing about the checkboxes part - it looks like you need to using theming to achieve this - try creating a "taxonomy_term_select.tpl.php" file in a phptemplate theme and see if you can override the html SELECT control it normally generates. I've only been poking around inside drupal's implementation for a few days, so I could be wrong about this ;-)
Cheers,
David.
Comment #2
nancydruIndeed, one needs to ensure the multiple select option is checked in order to set the vocabulary's attributes correctly.
I have played around with minor changes trying to get checkboxes to show, to no avail. However, I am considering changing the selection list method such that it will create checkboxes (which will be a setting).
Comment #3
nancydruOkay, I changed the way the selection lists were built and now you have checkboxes as an option (on the settings page).
I'd like a little feedback on this, though. Right now, if you select checkboxes, you get checkboxes if the vocabulary allows multiple choices and radio buttons if it doesn't. I don't think this is right. Just because the user can't select multiple when creating a node doesn't mean they don't want to see nodes from more than one of those terms. I think it's more appropriate to always allow multiple choices in Taxonomy Browser. What do you think?
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
jumoke commentedNancy, what was your fix? please help.
I need to get checkboxes and radiobuttons to show in addition to dropdowns.