Adding content-top block to all pages

Events happening in the community are now at Drupal community events on www.drupal.org.
ardarvin's picture

Hello,

I'd like to add content-top to all pages, not just the front page. Forcing page.tpl.php to print:

     <div id="content-top">
        
<?php
print $content_top;
?>
</div>

...just creates a blank div. How exactly $content_top gets assigned is a little over my head. Any suggestions?

Thanks,

-ard

Comments

Just add a block

catchlight's picture

I might not be understanding you completely here, but, if you have a blank div being printed to all pages, couldn't you now add a block to content-top in the Blocks (http://www.yoursite.com/admin/build/block/add) ?

Yeah, that normally would

ardarvin's picture

Yeah, that normally would work, but the content-top block has the special "feature" of only being visible on the front page. I would like to disable this feature.

Theme?

jeremycaldwell's picture

Depends on what theme you are using. Let me know and I'll take a look for you.

-Jeremy

==================================

Eternalistic Designs - www.eternalistic.net
TopNotchThemes - www.topnotchthemes.com

-Jeremy

Eternalistic Designs
www.eternalistic.net

OOps! Sorry about that.

ardarvin's picture

OOps! Sorry about that. Acquia Slate.

And OOOPS again... silly

ardarvin's picture

And OOOPS again... silly silly me. The theme works fine, the $content_top print statement does work, I just happened to have that particular block listed in Drupal to only display on

Gah. Sorry for the big time waster folks.

Uhmm...great theme by the way?

TNT Themes

Group organizers

Group categories

Type of post

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: