How to display navigation and image banner only on front page?

Events happening in the community are now at Drupal community events on www.drupal.org.
DarrinRich's picture

Using the default slate theme. I have the image and navigation block on the left side of the image such as the default screen shot of slate. But underneath there is content. I don't want any created content (page or story etc..) to display on the front page.
What would I need to do to make sure no content displays there? Right now it displays the routine "Welcome to your drupal website" info. I'm not sure how to make that gone.
Thank you for your help

Comments

Found solution

DarrinRich's picture

Using Views module I could make the the default homepage path to Front Page. I went and enabled this.
I then went to admin>site configuration and changed the default front page path from node to frontpage.
Hope it helps someone else who may be wanting to do the same thing.

netbjarne's picture

I have been looking for a solution as well, aiming for a frontpage with just blocks and menues, no nodes. Will try the views approach, but I do wish that it would be possible avoid nodes on frontpage without having to install and maintain a large module views.

front page with no nodes

cpelham's picture

Hey, what if you put a display:none on one node that is to otherwise print on the front page?


Christopher Pelham
Director
CRS (Center for Remembering & Sharing)
http://www.crsny.org

CRS (Center for Remembering & Sharing) is an arts & healing center located just south of Union Square in Manhattan.

Front Page...

jsimonis's picture

Whenever I want to code the front page differently, I create a page-front.tpl.php file. This is a page.tpl.php file that is used specifically for the front page.

What I do is create a copy of the page.tpl.php file and rename it to be page-front.tpl.php. Then I can edit it to remove/add items from the front page.

In your case, it seems like you should be able to remove the code to print content and that should keep it from printing any nodes or anything. I haven't had the need to do that, so I'm not 100% sure. But it seems like that should work.

I find that I use page-front.tpl.php on the majority of my sites because most people want it to be themed slightly different (often times with additional/less regions).

Jenni Simonis
http://www.forwardsupport.com

Panels

catchlight's picture

Hi, I would think that Panels would be the answer here. Have you looked into it?

Another nice option

omega8cc's picture

"Custom Page only overrides the "content" area, inheriting the header, footer and all other regions."

"Custom Page module is developer's version of the Panels module. If you like the functionality of Panels2, but your custom pages are not supposed to be further customized by the users, hence you don't care about the whole drag-and-drop thing, but do care about more flexibility and more lightweight, much faster implementation - Custom Page is the thing for you."

http://drupal.org/project/custompage

~Grace -- Turnkey Drupal Hosting on Steroids -- http://omega8.cc

TNT Themes

Group organizers

Group categories

Type of post

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: