Great template !
I am new to Drupal.
I want to design a static front page without the "Home" region, i.e. without the "Welcome to xxx" and the corresponding "Add new content". Is there any way I can disable this ?
Test site is http://test.arboris.be/
Thanks
Jean-Luc

Comments

Hi Jean-Luc,

The D7 main content is now a block, so just set the Main page content under blocks settings. Go to Structure > Blocks > Click configure on Main page content. On "Show block on specific pages" choose "All pages except those listed" and fill with <front>

Dan

Hi Dan

Thanks for your reply.

Whether I do precisely as you say or whether I don't, unfortunately doesn't change anything. I still cannot get rid of the two lines message :
"No front page has been created yet"
"Add new content "

I don't want ANY front page content (besides the static blocks in other regions);
It really is strange that when I do : Structure > Blocks > Click > Main page content > "Show block on specific pages" chossing "All pages except those listed" and filling with "front" (with html tags which I cannot write in this editor), those two lines remain on the home page.

This may be due to my incompetence with Drupal, although I believe I have done exactly as described.
For instance switching to Garland theme actually brings me to the same point.

I have the feeling that Drupal in fact doesn't like the idea of no front page content...
This is reinforced by the fact that contrary to all other blocks, "Main page content" does not allow for the choice : "None" as a region.
Which seems to imply that front page actually cannot be disabled.

Is there YET any way around this ? This is quite frustrating when you want to create a simple static page as exemplified on http://test.arboris.be

(Incidentally I also cannot get rid of the bold message "Welcome to website-name" just above the a/m two lines I want to get rid of).

Thanks for your time and attention !
Jean-Luc

All you need to do is click the link "Add new content ", create something, and poof, that front page is gone.

Grizz

Hi Grizz.

This is not 100% what I wanted, but that will do.

I do realize that Drupal does not provide 100% freedom to allow desactivation of the Main content block on the front page.

i.e. it is NOT possible on the front page to have NO Main content between say, the 3 Preface regions and the 3 Bottom regions.

But I can live with that.
Thanks for you time.
Jean-Luc

Hi Grizz.

This is not 100% what I wanted, but that will do.

I do realize that Drupal does not provide 100% freedom to allow desactivation of the Main content block on the front page.

i.e. it is NOT possible on the front page to have NO Main content between say, the 3 Preface regions and the 3 Bottom regions.

But I can live with that.
Thanks for you time.
Jean-Luc

First off, you should post something like this in the support forum because it is not an issue with this theme.

YES... you can create upper/lower content, nothing in main content area on home page.

The main content area is a block in D7, as you stated, you can put content in it, and move it to any other region/block on page by changing block location in the block settings. If you only want the change on the homepage, simply configure the block visual settings.

You can also create a page template, called a tpl file (front-page.tpl), for homepage and literally remove main content area.

Just because it says create content, doesn't mean it has to go on the homepage.

You can also add a new content type, under structure settings, for custom static/content pages, and, if needed/wanted, create .tpl files to use with each content type... there is also modules like views, cck, panels, etc.. etc, for even more structuring... endless possibilities.

Options above apply to every theme available and build from scratch.

Drupal is not a point and click cms like others, you have to do a little work to set things up.

Grizz

Status:Active» Closed (fixed)

Thanks a lot you Grizz for all this info (which I will need time to digest beeing new to Drupal).
You are right : this was not the place to discuss.
I simply originaly thought it was, only to realise later it was not template-related.
Thanks again.
JL

I have the same problem only in drupal 6, I know content reigon is not a block that can be configured but is it possible to hide the region ?

Priority:Normal» Major
Status:Closed (fixed)» Active

Hi Dan

I have installed danland-7.x-1.0.I have changed the look and feel of the front page by creating regions and adding to the blocks.

Now on the front page I get this
"welcome to ABC Company"
No content on the front page is created yet.

Can you please help me hot get rid off this from the home page.

Thanks
Akshita

Hi Akshita

I have found this module very useful http://drupal.org/project/disable_messages, It removes the welcome message without the need to create content.

Scott

I have a website whose home is only showing blocks, no nodes at all, after much searching and hair pulling I found a clean and quick solution, thanks to Mohammed Uzair Ahme:
http://drupal.stackexchange.com/questions/12908/how-to-remove-add-new-co...

Just add this code to the page.tpl.php or page--front.tpl.php on Drupal 7.

find

<?php print render($page['content']); ?>

and replace with below code.

<?php  if(drupal_is_front_page())
                {
                    unset(
$page['content']['system_main']['default_message']);
            }
        print
render($page['content']);
   
?>

And i believe you surely get all blocks or contents you posted on page.

and to remove page title on page like

Welcome to "website name"

find this code on page.tpl.php or page--front.tpl.php

<?php if ($title): ?><h1 class="title" id="page-title"><?php  print $title; ?></h1>
<?php endif; ?>

and you can remove this code or else just make a comment over.

Enjoy!!

Status:Active» Closed (fixed)

#11 fixed the issue for me.

thank you estepix!

#11 solution worked for me too (partially), great work!

although I found this instead of the above mentioned code for removing the welcome message. hope this helps someone.
for those wondering i am using Garland 7.12 theme on D7.12

<?php if ($title): ?>
            <h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1>
          <?php endif; ?>