Hello all,<br><br>I ran into a very awkward bug today. I created a module and a theme for a client, and naturally, this module contained customizations and the theme was a custom made theme. I named the module and the theme with the client&#39;s name. Let&#39;s say the client was named abc so I created an abc module and an abc theme. When I implemented the abc_block hook I was surprised to find that all blocks disappeared on all pages. Further investigation into the core and I found that the culprit was the call to theme(&#39;block&#39;) which mistakingly called abc_block thinking it was a theme override function (rather than the hook it was).
<br><br>I was wondering if this issue has been addressed before. I can think of three possible solutions:<br>1. Make it a standard that no theme and module should be named the same (weak solution)<br>2. Change all theme(&#39;block&#39;) calls to something else so no chance of conflict could occur
<br>3. Change the hook name so that it won&#39;t conflict with the theme call<br>4. Any suggestions???<br><br>Either 2 or 3 seem good enough to solve the problem. But I thought I&#39;d gouge some opinions before wasting time on a less-than-optimal patch.
<br><br>Thanks :-)<br>