Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
if you choose a sub level term as the start of the menu, when you save and then come back to the block configuration; you see that's the start come back to "root" on the configuratio form.
Line 57 variable_set should be variable_get
$form['root_term'] = array
(
'#type' => 'select',
'#title' => t('Root term'),
'#options' => $options,
'#default_value' => variable_get("taxonomy_blocks_vid_{$delta}_root",0),
);
Comments
Comment #1
owahab CreditAttribution: owahab commented