As a follow-up to recent commits :
When the content type is set to 'always create block', the blocks do not get created :-)
This seems to be caused by the 'disabled' checkbox on node edit form :
if ($block['nodeasblock']) {
returns FALSE...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | nodeasblock_disabled_control.patch | 1.72 KB | jose reyero |
Comments
Comment #1
alex_b commentedSeems that those blocks do get created on a multilingual site with "create multilingual blocks" on.
Comment #2
jose reyero commentedHere's a small patch. it was the disabled form field passing a false value, so I've added one additional check in nodeapi(update.
Btw, the patch also fixes another small bug, which was showing blocks for unpublished nodes.
Comment #3
dropcube commentedCommitted, thanks.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.