One Content Item on Your Drupal Homepage

Drupal homepage

By default, Drupal ships with a blog on the homepage. Whenever you add new content, that can be pushed to the blog of many articles on the homepage.

However, smaller sites may not have a lot of fresh content for the homepage. They may not need to use a module as large as Panels to design a complicated layout.

Sometimes one piece of content on your homepage is all you need. Here’s how to do that in Drupal:

Step 1. Create your homepage content

No modules needed. Nothing special. Just create the content you want on your homepage.

Make sure to save the URL of the page. In the image below, the URL is content/welcome-my-bacon-site.

Please make sure to remove any extra strings such #overlay=node/ from the URL

media_1379684971551.png

Step 2. Enter the homepage URL

Go to Configuration > Site information.

Enter the URL of your content into the Default front page area.

media_1379685125032.png

Click Save configuration.

Check your homepage and your content (and only your content) should appear.

Step 3. Remove any read more links

With some site setups you may see a Read more link for your homepage content.

If you do, use the Read More Control module: https://drupal.org/project/readmorecontrol

Install and enable Read More Control.

Go to Configuration > Read more settings and you’ll be able to take control over your read more link:

media_1379685639963.png

Author

  • Steve Burge

    Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Article Rating
Subscribe
Notify of
1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
Cluemate
Cluemate
10 years ago

thanks…

1
0
Would love your thoughts, please comment.x
()
x