Am new to Drupal , so please excuse if am missing anything obvious.
Can we programmatically lookup a block using the description instead of id ?
Currently am using :
module_invoke('block', 'block', 'view', 17);
I wish to use something like
module_invoke('block', 'block', 'view', 'myBlockName');
Any thoughts ?
The “View” Operation of block hook, does a lookup in the database based on “bid”
So you will not be able to call a block by its name unless you override the hook. ie create your own