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/

Comments

balsama’s picture

Component: Miscellaneous » Code - Taxonomy
wim leers’s picture

Category: support » feature

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!

wim leers’s picture

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).

balsama’s picture

Status: Postponed » Active

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!

wim leers’s picture

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.

wim leers’s picture

Status: Active » Closed (won't fix)