Closed (fixed)
Project:
Menu Block
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2011 at 07:47 UTC
Updated:
18 May 2014 at 21:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnalbinThe "Parent item" has been renamed "Fixed parent item" and moved to the bottom of the form. The description has also been improved.
Fixed (I hope). http://drupal.org/cvs?commit=495236
Comment #3
chriscalip commentedHey John,
I wanted to give care to our favorite module menu block; saw a bug so i wanted to report and give a patch fix. Well the submit handler for the normal menu_block got updated but not for the associated panels menu block content type "menu tree".
so on /menu_block/plugins/content_types/menu_tree/menu_tree.inc @ function menu_block_content_type_edit_form_submit
add
Looking forward to your decision cause I am also dependent on menu_block's api with the panels_extras sub module seo_menu_title.
Comment #4
chriscalip commentedComment #5
asb commentedMy problem is that the chosen "Fixed parent item" of a 'menu_block' that is embedded in a Panel is not being honored; mybe that's the issue #3 is trying to fix.
The patch from #3 does apply cleanly against menu_block 6.x-2.x-dev from 2011-May-20, if running with the
-p0option:... and it fixes the issue I was experiencing.
Thanks!
Comment #6
asb commentedComment #7
dave reidIndentation needs to be fixed to use two spaces.
Comment #8
chriscalip commentedper #7 updated patch, since its only an indentation recommendation brought back to RTBC
Comment #9
dave reidShouldn't this also handle menu blocks saved with the incorrect parent value as per #1209520: Parent menu item not set/retrieved correctly?
Comment #10
joelrotelli commentedThanks a lot for this patch! It's work very well !!!
Comment #11
jojonaloha commentedThe patch in #8 worked for me as well. Using Drupal 7.12, Panels 7.x-3.2 and Menu Block 7.x-2.3
Comment #12
khiminrm commentedThe patch in #8 Works fine! Have the same as in #11.
Comment #13
mattiasj commentedThe patch in #8 works great, thanks!
Comment #14
jweowu commentedn.b. For the 7.x-2.x version of the module, there's a similar issue+patch here:
http://drupal.org/node/1203646#comment-6322448
Comment #15
gg4 commentedMoving to needs review.
Comment #16
willieseabrook commentedI was trying to add a menu block from panels, but the "Fixed parent item" was being ignored and the entire menu tree was being shown.
I confim the patch in #8 works for Drupal 7.15, menu_block-7.x-2.3 and panels-7.x-3.3.
Thank you!
Comment #17
willieseabrook commentedWith 6 confirmations (including myself), it's reasonable to move this to RTBC.
Comment #18
heavy_engineer commentedconfirmed patch from #8 working on menu_block 7.2-dev. bacon saved.
Comment #19
johnalbinPer comment #9, this is still "needs work"
Comment #20
cweagansJust tested this and it seems to fix the problem.
Comment #21
jojonaloha commentedIn reply to #9/#19 looking at #1209520: Parent menu item not set/retrieved correctly, comment #2 suggests that was (later) fixed in #1203646: Pane generates illegal choice error when editing
I applied the patch in #8 which fixes the issue for me in Panels. I also tested creating a custom menu block and it appears to work for me. If that part of the issue is still open it would be helpful to document the steps to reproduce.
Attached is the patch in #8 re-rolled for 7.x-2.x
Comment #23
dave reidTested and committed #21 to 7.x-2.x.