Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
danpros CreditAttribution: danpros commentedHi 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
Comment #2
jeanluc911 CreditAttribution: jeanluc911 commentedHi 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
Comment #3
Grizz CreditAttribution: Grizz commentedAll you need to do is click the link "Add new content ", create something, and poof, that front page is gone.
Grizz
Comment #4
jeanluc911 CreditAttribution: jeanluc911 commentedHi 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
Comment #5
jeanluc911 CreditAttribution: jeanluc911 commentedHi 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
Comment #6
Grizz CreditAttribution: Grizz commentedFirst 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
Comment #7
jeanluc911 CreditAttribution: jeanluc911 commentedThanks 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
Comment #8
ScottSimpson CreditAttribution: ScottSimpson commentedI 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 ?
Comment #9
Akshita CreditAttribution: Akshita commentedHi 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
Comment #10
ScottSimpson CreditAttribution: ScottSimpson commentedHi 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
Comment #11
estepix CreditAttribution: estepix commentedI 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...
Comment #13
marloncastrillo CreditAttribution: marloncastrillo commented#11 fixed the issue for me.
thank you estepix!
Comment #14
joshuatguerra CreditAttribution: joshuatguerra commented#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