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.
When adding a menu block to a panels page, if "Make the starting level follow the active menu item. " is selected it can never be unselected. I believe it is due to the code here:
127 function menu_block_menu_tree_content_type_edit_form_submit(&$form, &$form_state) {
128 foreach (array_keys($form_state['subtype']['defaults']) as $key) {
129 if (!empty($form_state['values'][$key])) {
130 $form_state['conf'][$key] = $form_state['values'][$key];
131 }
132 }
133 }
Line 129 will exclude updates from unchecked items.
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_block-pane_config_uncheck-1943322-1.patch | 688 bytes | joel_osc |
Comments
Comment #1
joel_osc CreditAttribution: joel_osc commentedHere is a patch which I think will be ok, but needs to be tested.
Comment #2
JohnAlbinSorry, it's not clearer, but 7.x-3.x is not being actively developed yet. And this bug has been fixed 7.x-2.x already.