After changing a saving context with a menu block - the menublock is gona like the wind.
theres no problem adding the menubocks, but its getting them to "stick"
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | context-inline-editor-drops-some-blocks-1076706-13.patch | 1.41 KB | tekante |
Comments
Comment #1
febbraro commentedI was not able to reproduce this. Are you still having this problem?
Comment #2
mortendk commentedyup :(
im gonna make a fresh install and see if its somewhere around my setup
Comment #3
stephenrobinson commentedsame problem, using patched zen/zen 960 gs with D6
Comment #4
febbraro commentedSo just trying to really understand, are you saying that you:
1) Create context
2) Add a block reaction
3) Add a menu block from the system module (like Main Menu) to a region
4) Save the context
5) When you go to edit it again the menu block is not there
Is that how to reproduce this?
Comment #5
stephenrobinson commentedThis seems to be a browser issue, upgrade to firefox 3.6 and all is OK? reports of IE woes too
Comment #6
febbraro commentedThanks.
Comment #7
mortendk commentedim opening this again
its nothing to do with the browsers have tried this in all of em from FF 3.6.11, safari :/
to recreate this bug:
1. Open up a context
2. add a block menu to the context
3. save the context
4. open up the same context again
5. add a new block to the context anything goes, or move the menu block to another region
6. save the context
7, now the menu block is gone :(
Comment #8
tekante commentedStill having trouble reproducing this one in the latest dev codebase. I've tried the steps listed in #7 using both the main menu block provided by the system module and with a block provided by creating a test menu. Tested using FF 4.0
Comment #9
delzhand commentedI'm having a similar issue, but I believe the cause is something about the block_menu module, not regular menu blocks provided by drupal.
I've been trying to resolve it myself, and here's what I've come up with:
When you edit the context with the inline editor and expand 'blocks', then select 'menu block', the menu blocks (again, this is just blocks provided by the menu_block module) that should be a part of the context are shown in that list - normally blocks that are already active on the page don't show up there, I think. The menu_blocks in the context are shown grayed out on the page, as if they were provided by a different context on the same page. If you drag a menu_block to the page, you can have two of the same block - the grayed out one, and the one you just added. Then when you save, the grayed out one goes away when the page reloads. This also affects blocks in other contexts. For example, we use a menu_block as a footer sitemap in a "global" context, and we have a menu_block subnavigation in a "node" context. On any page where node and global both trigger, editing either context with the inline editor causes the footer and subnavigation to vanish (unless you use the inline editor to pre-emptively re-add the blocks).
I'll post more information as I'm able, or a patch if I find a solution.
Comment #10
Jon_B commentedI had the same problem. I've just submitted a patch to fix it:
http://drupal.org/node/996426#comment-5144338
Comment #11
Ganganation commentedI have exactly the same problem. If you need more info, please react.
Using 7.x-3.0-beta2+12-dev
With
Context inline editor 7.x-1.0-beta1
And
Menu Block 7.x-2.3
Comment #12
Bibliotechie commentedI've had the same exact problem with nodeblocks and haven't been able to solve it. It appeared shortly after a recent update. Here's what I'm running:
--Drupal is 7.14
--Context module is 7.x-3.0-beta3 for Context, Context Layouts and Context UI.
--It's 7.x-3.1-beta2 for Context: Menu Block.
Also, server has PHP 5.2.5. Anyone think that could be the problem?
I would be ecstatic if someone solved this. I have searched for a solution for over a month, and been unsuccessful. If no one can provide assistance here, I'll have do a rebuild to get things working. Of course, I'd rather not have to reinvent the wheel so any and all help is GREATLY appreciated.
Comment #13
tekante commentedAfter some digging I believe the problem is in the generation of the editable block. Context UI uses an anchor tag with a particular ID to help the interface know which blocks belong to which contexts. For menu blocks this anchor tag was not being added because the editable block code felt that the block was empty.
Attached is a patch that resolves that issue and adds a warning should another block come along that is likely to be dropped from the context when using the inline editor. Please give it a try and let me know if it resolves the issues for you.
Comment #14
tekante commentedAdding tag for tracking
Comment #15
Bibliotechie commentedHaven't been able to try this yet but appreciate your help. Will let you know if it works. Tx!
Comment #16
Ganganation commentedIt works!!
Comment #17
tekante commentedPatch committed: 49310cb02202455106f5ae948d18263c14f6d2a8 will be in the next dev build and version after beta4