Quick question for all you Drupal pro's out there. I have installed a fresh copy of Drupal 7 and Views on a server, everything is running smooth and admin/reports/status reports everything as a-ok. However, when I want to replace the built in Views-supplied block Main page content with one of my own I get this error:

Error message
Region for Main page content block field is required.

I have three other blocks for my front page in the Content region. What do I need to to to disable this block?

Comments

NiklasBr’s picture

How to make Select become None when the choice None is not available:
screen shot.

NiklasBr’s picture

Nobody knows? I just want to disable the block.

Marshcast’s picture

I have exactly the same question.
There seems to be no straightforward way to do this :/
I've had this in mind for over 3 weeks, but not got a solution. there's no documentation or google results that address this issue. It means I can't find a way to format articles :/
It has to be obvious, but how....?

:)

agalligani’s picture

ok - just poking around in the admin area - i think maybe what you want to do is to go under "Configuration" and change the Default Front Page. That way you can put things in the content area without having to have the Main Page Content there. You could also change the content of the Main Page to only show one article.... if that helps...

Drupal 7.0

Marshcast’s picture

Thanks, agalligani,
have moved on a bit during the meanwhilst, but am sure this will come in handy pretty soon :D

:)

ñull’s picture

Not the front page only, he asked it in general for al pages and the block is still obligatory when you change the default page.

agalligani’s picture

i just tried to see what happens when i got rid of that and the same thing happened. worse I don't know how to control what comes up in that block. it seems to want to include all the node types I create and just chuck them up on the main page w/o any ability to filter them. and if you search on "main page content" in the api or documentation I'll be damned if it shows up anywhere. i guess you have to buy a book?

Drupal 7.0

scottcarlton’s picture

Hey guys, I am new to drupal and building a custom theme, but while I am trying to save my blocks from the Block page I get this error: "Region for Main page content block field is required." Can some explain this to me and how do you fix it?
You help is greatly appreciated. Thank in advance.

scottcarlton’s picture

Fixed it. Simple as just enabling it to the Content block.

mhamed’s picture

Ok
fixed by:
if you see that the
'Main page content' block is highlighted to say that this should be selected and should be in the content region
so just look for this block and move it to the : 'content' region

rdtech25’s picture

I tried to show the image field on a first sidebar with the help of "CCK BLOCK". But the problem is the image field content is coming in the first sidebar as well as on the main content area i.e., below the body field. Can anybody help me out pls :-)