Posted by basketkase999 on June 25, 2011 at 5:16am
So I am working on setting up a theme for a company. The company doesn't have a running blog or site news, so it renders the "content" block useless on the front page. How do you disable the default content from appearing? Side note: I installed Delta and tried to disable the "content" block but it forced me to put it somewhere.
Comments
If you aren't using the
If you aren't using the content block, you can visit admin/structure/blocks and then click configure. And then choose how to display it. You can only display it on certain pages, not display it on certain pages, or you can go back and actually disable the content block entirely.
THats not entirely true
THats not entirely true bhosmer since the main content block (system_main) is being forced into the content region if it is not being placed manually. This is odd behavior by core (I agree) but is understandable somehow since the main content block IS a special case. However there is a solution for that: The "Empty page" module. I always use that for creating empty pages (e.g. for the Front Page).
http://drupal.org/project/empty_page
Interesting! I've never
Interesting! I've never really every needed to hide the main content block, since I've generally always placed something there, whether it be a static "Welcome" type page or some type of RSS feed. I have often changed the default front page though.
Thanks for the module too, I hadn't heard of it before either.
Setting a fixed front page
Do you really want no content, or do you just want it to to be static? You can change the default front page to a static page (or whatever your want). Go to:
http://yoursite.com/admin/config/system/site-information
and set the "Default front page".