Timeline for Programmatically alter taxonomy term tree options
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 24, 2014 at 11:13 | vote | accept | saemchou | ||
Jan 18, 2014 at 18:23 | answer | added | greg_1_anderson | timeline score: 2 | |
Jan 18, 2014 at 18:21 | answer | added | mpdonadio♦ | timeline score: 1 | |
Jan 18, 2014 at 17:27 | comment | added | greg_1_anderson | hook_field_widget_form_alter is called on the edit page; perhaps $element['theme_hook_suggestions'] might be the key? | |
Jan 18, 2014 at 16:26 | comment | added | greg_1_anderson | Er, form_alter is for the settings form, so a different technique is needed. Hopefully someone else will have the solution. | |
Jan 18, 2014 at 15:15 | comment | added | greg_1_anderson | I need to do this as well, so I started working on it. I figured out how to use hook_theme_registry_alter to override theme_term_tree_list, but it seems that the function we really need to override is term_reference_tree_process_checkbox_tree. It seems that hook_field_widget_WIDGET_TYPE_form_alter will allow us to do that, but I haven't figured out how yet, and do not have time to continue right now. | |
Jan 17, 2014 at 22:11 | history | tweeted | twitter.com/#!/StackDrupal/status/424302905798451200 | ||
Jan 17, 2014 at 11:29 | history | asked | saemchou | CC BY-SA 3.0 |