On D7, it seems to currently be impossible to place blocks into regions on dashboard pages. The block browser seems to work as expected, but dragging blocks into regions does not work (the dragged block just zips back into place when released), and the close and drag widgets do not appear on currently existing blocks.
I believe this is because (or at least partially because) spaces_dashboard_preprocess_context_block_editable_region() doesn't seem to ever execute, because Context no longer has a context_block_editable_region themeable (see context_theme() in context/context.core.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | spaces_dashboard_doesnt_work.patch | 1.09 KB | Garrett Albright |
Comments
Comment #1
Garrett Albright commentedf58d421 seems to be the relevant Context commit. I'd like to fix this, but I'm afraid I don't quite grep the whole Spaces/Context/CTools/etc stack well enough to know where to start yet.
Comment #2
Garrett Albright commentedHello? Anyone out there?
Well, here's a thing. Funny how hours of code-tracing and head-bashing can result in the tiniest of patches. It's probably wrong anyway, though; I presume I should be using context_reaction_block::editable_region() somehow, but I can't make out how. Also, regions which don't already have blocks in them still do not appear for block droppage, though that might be a different bug.
Note that in addition to this, the theme needs to have a "layouts" section in the .info file - see context_layout's README.txt. I just used hook_system_info_alter() to patch one into Bartik for now:
Comment #3
Garrett Albright commentedDerp.