Position of create_new_item option

balsama - March 11, 2009 - 19:15
Project:Hierarchical Select
Version:6.x-3.x-dev
Component:Code - Taxonomy
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

I'm using hierarchical select for a three tiered taxonomy vocabulary. Users are allowed to add new terms for the second and third levels. Currently, the option to add a new term appears above the existing terms in the dropdown list. I would like the option to add a new term to appear BELOW the existing terms.

Can anyone point me to the code that needs to be modified for this?

You can see the example in question here:
http://ok2tellv6.bostonwebhost.org/

#1

balsama - March 11, 2009 - 19:15
Component:Miscellaneous» Code - Taxonomy

#2

Wim Leers - March 11, 2009 - 20:05
Category:support request» feature request

You can't easily change this. It'll require yet another setting. I'd say I won't do it because you're the first to ask this, but this can actually make sense.

What has to happen:
- add a new 'option_position' setting below the 'editability' setting
- change hierarchical_select_process() and _hierarchical_select_hierarchy_generate() in hierarchical_select.module
- update API.txt
- update hierarchical_select_common_config_get() and hierarchical_select_common_config_form() in common.inc

I'll gladly accept this patch :) Thanks in advance!

#3

Wim Leers - March 11, 2009 - 20:08
Title:Taxonomy Create New Term Placement in Select list» Position of create_new_item option

Improved naming (to be consistent with terminology already used in the module).

#4

balsama - October 20, 2009 - 17:51

Is there anyone who can take it on? I can see if my client can free up some funds if some money would entice anyone (you'd have to quote your price if so).

thanks!

#5

Wim Leers - July 27, 2009 - 12:16
Status:active» postponed

Postponing due to lack of interest.

balsama, if you're interested in sponsoring this patch, contact me at http://wimleers.com/contact.

 
 

Drupal is a registered trademark of Dries Buytaert.