Hey Guys,

I know that when you create stories and mark them to be placed on the front page, the default front page are teasers of the articles you've posted. I like that, but would also like to add some content above this too. Is there any way to do that?

Thanks,
Kevin

Comments

-Anti-’s picture

I'm a noob, but I think your theme would have to have a 'region', probably named something like 'content top', above the main content area. Then you would assign a block to that region in Admin > Blocks.

This is where things get fuzzy for me - I don't exactly know how you would get content into a block:

· For dynamic content, I suspect that if you create a 'View' with the 'views module', you can specify it to display as a block, which will appear in the Admin > Blocks page for assigning it to the region.

· I suspect that in the 'create block' page, there is a 'body' field, into which you can put static content OR you can put php into there too, to create your own dynamic content.

I think the 'panels' module might allow you to split the main content area into 'pseudo-regions', without having to edit your theme's regions, but I'm not quite sure.

I'd like more details myself about what can be done, too. So I'm kind-of subscribing to this thread. :)

silverwing’s picture

There are actually a few ways. Anti's way would work.

Another is to copy page.tpl.php and rename it page-front.tpl.php. Then you add regions to it and use views to get blocks to put there. This way you can have multiple regions in different places without worrying if they'll show up on the wrong page.

~silverwing - fan of page-front.tpl.php

_____________________________________________
Land of Midnight | MisguidedThoughts | showcaseCMS

DragoonBoots’s picture

You may want to double check this, but I believe the "Sticky" attribute would do this. I believe this is what is used on drupal.org's front page for the latest release blurb at the top of the content area.