How to Create a Custom Front Page in Drupal 7

## Update, I’ve created a screencast for how to create a custom front page in Drupal 7 <- click there
Things you'll need:

(module) Front Page

Step 1: Install the module Front Page

Step 2: Configure

Go to Administration > Configuration > Front Page

By default, Front Page installed on a blank installation of Drupal 7 will give 3 options for settings, Administrators, Authenticated Users, and Anonymous Users. Any additional roles you have created should also show up here. You can set a custom home page for each of your users. I find it easiest to set it for an anonymous user and test in a separate browser as an anonymous user.

You have a few options with how much control over the front page you give yourself (these are copied from the module itself):

themed: means your default layout, theme and stylesheet will be loaded with your custom front_page.
full: allows you to have a completely different layout, style sheet etc.
redirect: will automatically redirect visitors already logged in to a specific page specified in the REDIRECT TO box.
alias: will display the page listed in path as if it were the home page. This option does not redirect.
I use the “full” setting. I create my homepage in an html editor on my local machine, put the CSS styles in the header (you can link it to an external stylesheet later if you’d like), and test it out as a standalone page. Then, once you are pleased with the result, paste the entire html document into the “data” textarea. This textarea works just like any other textarea in any other drupal node. So you may choose full html, restricted, or whatever text format types you have created.
Hope that helps!

About bentedder

Ben Tedder is a front-end web developer. He loves WordPress, SharePoint, and Drupal, along with jQuery, CSS, and good 'ol HTML. +Ben Tedder on Google or follow @bentedder

Comments

I try to respond personally, but things get busy sometimes :)
  1. Rakib says:

    ya, man great. it helps a lot

Trackbacks

  1. [...] response to my article on creating a custom front page in Drupal, I’ve now recorded a screencast to document the process. Check it out [...]

Join the discussion!