The HS entry on a CCK edit form ends up in a field group labeled: "Vocabularies" but in the "manage fields" section of the content type it's shown as "Taxonomy - Taxonomy Module Form". All HS fields in a given form end up in this same group.
In addition there are some problems with drag and drop with this group in "manage fields". I could not move it everywhere I wanted, or into another group. This group does not show up in the alphabetical list at the top of the manage fields page, or in the "Display Fields" section.
I would expect the HS field to be alone in the CCK form and the fields list, ie not in a group, and be labeled with the name of the taxonomy.
Comments
Comment #1
druplicate commentedNot sure what happened but I just tried this again and the problem isn't there when I add new content taxonomy fields with HS select as the widget. Maybe some peculiar combination of configuration options - dunno - but I cannot repeat it.
But, I still have two old HS fields I added from before in a group called Vocabularies and I can't delete it.
In the manage fields screen the label is Taxonomy and the name is Taxonomy Module Form and there's no entry for configure or remove.
I've searched high and low in the DB and there is no entry in any table that looks remotely like the two fields in the phantom field group. Nothing for the fields or the group.
Yet the HS widgets in that field group work just fine in the form. Bizarre.
Any suggestions where I might look in the DB so I can remove the bogus fields without having to completely rebuild the form?
Comment #2
druplicate commentedComment #3
hefox commented#601500: HS Taxonomy interaction with other modules (content_taxonomy, unhides taxonomy fields) I believe that is your issue; the mysterious vocabularies fieldset is the core taxonomy fieldset :>
Could you please try the patch in comment 25, or read a temporary solution in 21, 23?
If that is the issue, perhaps mark this as duplicate :).
Comment #4
wim leersAgreed with hefox :)
Comment #5
druplicate commentedI'm not sure this is the same issue, though it may have the same root cause.
The HS content taxonomy field I created 'is' displayed on the node edit form. If only one HS CT field is present, it appears fine. If I have two HS CT fields they end up in a field group named "Vocabularies". I did check the box "Save values additionally to the core taxonomy system" on those HSCT fields. So it appears I have a similar issue to the one you referenced.
I added a new HS CT field but did NOT check "Save values additionally to the core taxonomy system", and this field behaves properly.
I can't tell you why I checked that box - seemed like it was a good idea at the time - but honestly I didn't understand what it's for. This statement for the CT module is confusing: "Content Taxonomy is going to hide all form fields from the core Taxonomy module from vocabularies, which are handled by a Content Taxonomy field." I think this means that if checked, CT selected terms will appear in the node taxonomy terms area of the node display? I don't use taxonomy terms that way so I guess I don't need that feature.
My problem is I cannot edit or delete these errant fields because the "configure" and "edit" links in the content type "Manage Fields" screen are absent. Also, the 'label' and 'name' fields are generically called "Taxonomy" and "Taxonomy Module Form" respectively - the original field names as well as the "Vocabularies" field group, aren't shown.
Did the latest dev version fix this? If so, I'm assuming it won't help me edit/delete those old fields on existing nodes or content types. I really don't want to rebuild the forms as they're fairly large and complex. I thought I could export the form and uncheck the errant fields or the bogus field group but they don't show up there either.
Where should I look in the DB to delete them directly for existing nodes and to uncheck that box for the existing content type? When I look in the DB table for nodes I created with this content type, there are no rows for the errant fields or a field group named "Vocabularies" in the field group table. Obviously they're there somewhere, but I can't find 'em. Couldn't find anything in the vocabulary, term, or taxonomy related tables either.
EDIT: I tried to export the form anyway to see what would happen and got this warning which I don't understand: "You can't show more empty location forms than the maximum number of locations allowed for this content type."
Comment #6
druplicate commentedChanged status so someone will read it.
Comment #7
hefox commentedHere's a simple test: Remove content types settings from your vocabularies (ie. uncheck all content types when editing vocabularies). Does that fix the issue?
Comment #8
druplicate commentedHooray!
That did it. Too obvious I guess.
The errant field just disappeared after I resaved the form, so I recreated it without any connection to the core taxonomy system and everything is fine.
I presume that when the fix is rolled for the other problem, this will get resolved too.
Thanx!
Comment #9
druplicate commentedThe error about locations has nothing to do with this.
I had turned on the location module and forgot about it.
Comment #10
hefox commentedMarking it back as duplicate then I guess