Feature: allow retaining the hierarchy for vocabularies
Yas375 - October 30, 2009 - 09:52
| Project: | Node Auto Term [NAT] |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Hi!
Yesterday I have implemented this future for one of my sites. And here is a patch. Comments and fixes are welcome.
So, you can apply my patch by running it from your nat module directory:
patch -p1 < nat_parent_term_select_feature.patch
ps I didn't testing this patch when there are another taxononomy vocabularies used for node. Or if one node working with two and more vocabularies through the nat.
| Attachment | Size |
|---|---|
| nat_parent_term_select_feature.patch | 7.9 KB |

#1
There are some screens in attach to see how it seems now.
#2
Does not work for me with drupal-6.14, then simply ungrading from 6.x-1.1-beta3
admin/settings/nat
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'nat_settings_form' was given in .../drupal-6.14/includes/form.inc on line 371.
otherwise empty page
admin/settings/nat/sync
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'nat_sync_form' was given in .../drupal-6.14/includes/form.inc on line 371.
otherwise empty page
node/add/...
* Releted terms are select box
* Synonyms are ok
* No parent selection!
Reinstalling the module with devel solved the issue!
#3
Two boxes for choosing the parent are appering on add and edit pages, one just below the next with only one NAT enabled vocabulary. They show different terms (probably the NAT enabled in the second one and all taxonomy terms in the first one). The difference in using the one or the other has not been investigated.