[support] Zen subtheme problem with blocks

Brian Choc bchoc at t4tcolorado.org
Mon Apr 11 18:39:36 UTC 2011


Check your template.php file(s).  If you've renamed the block regions or 
changed the preprocess functions it's possible Zen is not recognizing 
the presence of the blocks (hence the no-sidebars class).

Brian

On 4/8/2011 8:49 PM, nan wich wrote:
>
> I am creating a new Zen subtheme because the theme I tried previously 
> ran into a major problem. I have been to the blocks admin page and 
> verified that my blocks are set up. Several definitely have content, 
> because I can dump what is being returned from hook_block().
>
> No block regions are showing any content at all, not even the 
> sidebars. Adding a get_defined_vars() to page.tpl.php shows all region 
> variables to be empty.
>
> I don't know if it is cause or effect, but body{} has 
> class="no-sidebars" (even though I have them) but it's not just the 
> sidebars that should have data.
>
> I have tried putting stuff in every region and it never shows up. I 
> hope someone can tell me what I've done that was stupid because my 
> deadline is fast approaching.
>
> BTW, yes I did search, not just the Zen issue queue, but the whole 
> site. I saw many posts, but no real fixes.
>
>
> /*Nancy*/
>
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. 
> King, Jr.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110411/8bb6d451/attachment.html 


More information about the support mailing list