I think I have a permission problem that I don't know how to fix.
My custom regions when printed.

Summary:
- Custom zen based theme on Drupal 6
- I've tweaked the .info file to include custom regions
- Custom regions appear in the Block config page
- Page.tpl.php displays the custom regions accurately highlighted in Blocks, but are blank/empty.
- Page.tpl.php regions appear blank in front-end of the site.

Can you help me over this hurtle?
I can't wait to program this web-site. It's my first big Drupal attempt.

Thank you x 100!

Comments

thevariables’s picture

I have searched around quite about and there isn't much in the way of troubleshooting for blank block output.

I write:

<?php if ($left): ?>
   <div id="left">
      <?php echo $left; ?>
   </div>
<?php endif; ?>

and get:

<div id="left">
  <div class="" id="">
    <div class="content">
    </div>
  </div> 
<!-- /.block -->

  <div class="" id=""> 
    <div class="content">
    </div>
  </div> <!-- /.block -->
</div>

The two menus that are enabled print blank, and I tested by adding the default 'Who's Online' and it also prints a blank content div.
Any idea as to where this could be going wrong? I haven't touched the funtion file!

madaerodog’s picture

be sure you have php filter module active and select it in the block editing page in the Input format zone

hilarudeens’s picture

hi,

you must verify the variable name that denote your custom region .info file. I mean "regions[$myregion]= My Region" should me used like

if($myregion){print $myregion; } ....

and be sure the your block have the content........ and check any tpl.php file override your block........ and ensure your region unique..........

thanks,

thevariables’s picture

i just started from scratch and it worked.

I guess that somehow through the renaming of the theme I missed something crucial and corrupt the block output.

RobertoGA’s picture

I have already spent two days with this problem and can not find a solution.

I just found this post talking about this problem, and not to seek more information.

Remember what was wrong?