Implemented hook_block, now all blocks are gone
If all your blocks disappear from the site the moment you add a hook_block implementation to your module, check whether you have a theme with the same name as your module.
Cause: The theme system uses your hook_block implementation as if it were a theme_block implementation.
Either rename your module or the theme.
Comments
ho thanks man !!
Submitted by Anonymous (not verified) on Thu, 2010/01/14 - 21:14ho thanks man !!
Thanks
Submitted by jamie (not verified) on Mon, 2010/02/01 - 18:31Thanks for this one! It was a mystery to me until I saw your post.
Saved me! thanks so much for
Submitted by Anonymous (not verified) on Sun, 2010/05/23 - 12:45Saved me!
thanks so much for this.
Warme groeten uit België in het geval dat je nederlandssprekend bent.
Great, Thank you!
Submitted by arielberg (not verified) on Fri, 2010/07/09 - 11:39I didnt had a clue what was the problem - . great post.
Thanks man