Closed (outdated)
Project:
Alchemy
Version:
6.x-1.0-rc5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2011 at 12:08 UTC
Updated:
14 Jun 2017 at 20:22 UTC
Jump to comment: Most recent
In the alchemy_autotagging.module when building the admin settings form the variable name, and the form item name is mistyped
$form_additions['alchemy']['alchemy_vocabulary'] = array(
'#type' => 'select',
'#title' => 'Vocabulary for Alchemy Keywords',
'#options' => $vocab_options,
'#default_value' => variable_get('alchemy_vocabulary', ''),
'#description' => t('Override the default options for vocabulary assignment. Leave blank to inherit from global options.'),
);
Where it should be:
$form_additions['alchemy']['autotagging_alchemy_vocabulary'] = array(
'#type' => 'select',
'#title' => 'Vocabulary for Alchemy Keywords',
'#options' => $vocab_options,
'#default_value' => variable_get('autotagging_alchemy_vocabulary', ''),
'#description' => t('Override the default options for vocabulary assignment. Leave blank to inherit from global options.'),
);
This causes that in the insert function: alchemy_autotagging_autotagging_api_insert(&$node, &$text) when getting the $vid it doesn't finds the vocabulary and puts the alchemy tags in the global vocabulary of the autotagging module.
Comments
Comment #1
TomDude48 commentedfixed in latest commit.
Comment #2
technologywon commentedDrupal 6 is no longer supported