nodeasblock currently looks up blocks based on the $theme instead of the $theme_key. This is fine most of the time, but when using Zen-style subthemes it breaks in the following ways: when you edit a node it "forgets" what region it was in, and the list of available regions is based on the main theme not the subtheme.
This patch should fix that.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | nodeasblock 5.x-1.x-dev patched.zip | 3.33 KB | jayson |
| nodeasblock_use_theme_key.patch | 1.53 KB | eli |
Comments
Comment #1
seutje commentedchanged to (code needs review)
Comment #2
jayson commentedI applied this patch to the 5.x-1.x-dev version, had to replace more than one occurance to the file and it seems to work. Applying the fix to 5.x-1.1 was pointless, as there is much (necessary) added functionality in the dev version that you lose with the 5.x-1.1. I've attached my patched copy of nodeasblock.module for anyone who is interested. Great module!