Reputation: 8742
is it possible to declare more than 1 block in a module?
I tried to create a extra module in a block by changing the name to mymodulename_first_block and mymodulename_second_block but then i can't see them in th list.
Upvotes: 1
Views: 265
Reputation: 5128
Use $delta variable for this: http://api.drupal.org/api/function/hook_block/5
See example in bottom
Upvotes: 3