Closed (won't fix)
Project:
Content Taxonomy
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 May 2008 at 13:03 UTC
Updated:
1 Sep 2010 at 10:48 UTC
Why vocabularies with turned on 'Free tagging' is not avaliable in CCK taxonomy field types list?
I have found in sources that if 'Free tagging' is turned on, this vocabularies is removed from list:
function cck_taxonomy_widget_info() {
$vocabularies = taxonomy_get_vocabularies();
$vocabs = array();
foreach ($vocabularies as $vid => $vocab) {
if (!$vocab->tags) {
$vocabs['cck_taxonomy_'. $vocab->vid] = array(
'label' => $vocab->name,
'field types' => array('cck_taxonomy'),
);
}
}
return $vocabs;
} When I remove if (!$vocab->tags) all works good.
Can anybody tell for what reason tagged taxonomies is disabled in CCK?
Comments
Comment #1
dopry commentedrecategorizing.
Comment #2
Webster619 commentedI would also like to know why this is.
thanks,
Comment #3
mgenovese commentedWithout having delved into the CCK Taxonomy code, it might be because tags are generally typed in, and thus new tags couldn't be reinserted into the taxonomy vocabulary. This is unlike the non-freetagging varieties where a selection box is used; no new taxonomy items are created. Just a guess.
Comment #4
magnus commentedCleanup of old issues. According to maintainer: "active development is only done for the 6.x branch! 5.x is not supported any more".
Reopen issue if problem still exist in 6.x branch.