still in 6.x: disappearing menu blocks
mwpeters - December 17, 2007 - 21:35
| Project: | Menu Block Split |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
I used version 1.0 for over a month without problems, but this update has the blocks disappearing out of the same Zen 0.6 derivative theme (haven't tested elsewhere). Thought it might be CSS cache related, but turning that on and off and clearing local cache, etc. hasn't helped. I'm hoping returning to 1.0 will as I actually didn't have any noticable problems with that version.
Interestingly the problem doesn't seem to appear immediately. It may be that subsequent site editing is ... or just passage of a couple cron runs is triggering it. But that's just speculation at this point .
Drupal 5.3
Apache 2.x
PHP 4.4

#1
Reverting to version 1.0 "seems to" restore the block visibility and function.
#2
Actually I'd already updated to Drupal 5.5 when this occured.
Sorry for any confusion
#3
It's a bug in v1.1
replacing function menu_block_split_is_child() for this one would do the trick
function menu_block_split_is_child($parent, $child) {$item = menu_get_item($parent);
if (is_array($item['children'])) {
if (in_array($child, $item['children'])) {
return TRUE;
}
else {
foreach ($item['children'] as $c) {
if (menu_block_split_is_child($c, $child) == TRUE) {
return TRUE;
}
}
}
}
return FALSE;
}
#4
Thank you Casey
Just what i needed :-) It works
Regards
Kenneth
#5
This also fixed a similar problem for me. I'm submitting casey's code as a patch.
#6
I was experiencing the same problem. This patch worked for me too. Thanks!
#7
This patch works for me too.
#8
works for me too. :)
#9
Works for me too. Please commit to HEAD or release a new version.
#10
thank you. commited to head. It will be included in the next 1.2 release.
#11
Automatically closed -- issue fixed for two weeks with no activity.
#12
Hi,
I have installed 6.x. When clicking on a 3rd-level menu-item, the split-block disappears (again).
I looked at the patch for 5.x, but i don't know how to use that on 6.x
Has anyone fixed this for 6.x ?
Thanks, Joly
#13
this should be fixed with 6.x-1.2 release. please reopen issue otherwise
#14
Automatically closed -- issue fixed for 2 weeks with no activity.