I have no problem setting a default taxonomy term for a content type with this module. But, if the content type has another taxonomy field (from a different vocabulary than the default term's vocabulary), the default term no longer works and only the selected taxonomy term from the CCK taxonomy field shows up. Am I missing a crucial step somewhere or does this module not work with additional CCK taxonomy fields? Thanks in advance.
Comments
Comment #1
heine commentedThis module has not been designed to work with CCK taxonomy
Comment #2
hillaryneaf commentedAre there any work arounds? Has anyone in the past tried to achieve this?
Comment #3
hillaryneaf commentedThis is my workaround:
I found a solution until the above module is updated with the feature...
Using the Form Markup Module, I created a taxonomy CCK field in my new content type, called something like "default news category" and set it's default term to news. I set it to required and in the Form Markup prefix field (supplied by the module) I put in the necessary html/css code
and in the suffix field
This way the field will not display to the user when they add content with this particular content type and it has a default taxonomy term or terms.
I hope this helps someone else out there!
Comment #4
hillaryneaf commentedTried it in the official release but still does not work with cck taxonomy... so I updated the version on this feature request.
Comment #5
bradweikel commentedI'm willing to look into addressing this issue (just adopted the module), but can't reproduce the problem. Can somebody give me a clear, simple test case?
Comment #6
bradweikel commentedComment #7
hillaryneaf commentedHere's a test case:
- Create a vocabulary (for example "Year") and add some arbitrary terms
- Create another vocabulary (for example "News Type") and add some arbitrary terms
- Create a new content type
- Add a taxonomy CCK field from vocabulary 1 ("Year")
- Add another taxonomy CCK field from vocabulary 2 ("News Type")
- Set a taxonomy default for the content type - use Year and pick a term
- Now add a new content item with this content type, fill in the taxonomy News, but not Year
The taxonomy default for Year that was set, will no longer be set.
Comment #8
bradweikel commentedGiven the new trajectory of Taxonomy Defaults in D6 and D7, and that the CCK_Taxonomy module was never upgraded to D6, I'm not going to put time into fixing this one in 5.x -- but if somebody else rolls a working patch I'll review and commit it.
Comment #9
bachbach commentedThanks for trick nektir !
Or you can just hide the "default" taxonomy content field with "content permissions" from cck module.