Closed (fixed)
Project:
Node-level Blocks
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 10:41 UTC
Updated:
18 Apr 2014 at 14:55 UTC
Jump to comment: Most recent
Comments
Comment #1
rudiedirkx commentedYes! But not D6. Who uses D6 anymore?
You'll need to pass some context to drupal alter though. Like
$node. I recommend:Do it, Johnny!
Comment #2
rudiedirkx commentedOpschieten Johnny!
Comment #3
Johnny vd Laar commentedPlease keep this in English!
Comment #4
Johnny vd Laar commentedI have committed a drupal_alter and cleaned up the code a bit in the process.
Comment #5
rudiedirkx commentedThis might be interesting: http://drupalcode.org/project/node_level_blocks.git/commitdiff/3ffecb2
Comment #6
rudiedirkx commentedComment #7
Johnny vd Laar commentedYeah the comment is wrong after my change.
NLB doesn't need more then the blocks list. If the module that needs the full block object then it can still do a block_load I guess.
Comment #8
rudiedirkx commentedWhen you've fixed #1887042: Don't do a block rehash EVERY time the node form is loaded to make it faster this issue will resolve itself, because you need a new method to get all blocks instead of
_block_rehash(). That new method would (hopefully) return full block objects.I love me some full block objects!