Hello!

I themed my own little website but my block on the right sidebar will not show up.

I will post you my test.info and parts of my page.tpl.php.
On /admin/build/block my regions "right" and "content" are displayed correctly, but in the inside they do not show any content. But I configured two new blocks with a example text! When I change to the theme Garland, these test blocks are displayed inside the regions correctly.

I have to say, that pages that I have created are shown correctly in the content region. But my newly created test block, which I dragged to the region "content" and "right" is only displayed, when i change to Garland theme.

Why is my block in the region "right" not displayed, when I change from Garland to my own theme?

test.info

name = Test
description = Testtheme
version = VERSION
core = 6.x
engine = phptemplate
stylesheets[all][] = style.css
stylesheets[all][] = navigation.css
features[] = name
features[] = favicon
features[] = primary_links

page.tpl.php

<div id="sidebar"><?php print $right ?></div>
<div id="content"><?php print $content ?></div>
<div id="footer"><?php print $footer_message ?></div>

Comments

prestonso’s picture

I don't see any problems with your .info file or your page.tpl.php syntax. What you might want to consider doing is overriding the Drupal default regions and redeclaring them in your .info file thus:

regions[right] = Right sidebar
regions[content] = Content

and seeing if there is any effect. You might also want to try clearing the theme registry.
___________________

Preston So
Creative Director
Monarch Digital, Colorado Springs
My near-dead non-Drupal site

___________________

Preston So

Danic’s picture

Unfortunately this did not help. Same Problem. :-(

Danic’s picture

Please Help me! I go mad!