Home

Suckerfish Menu

  • Books
  • Recent Posts
  • Video Tutorials
  • Links
  • Blog
    • Home
    • Contact
    • Login-Register

Books on Drupal

There are many books on Drupal based on a wide range of topics. I have a page devoted to Drupal books that are available for purchase. Help support the site by purchasing your next book through DrupalDude.com.

Today's popular content

  • Drupal 5 Overview - Build a website in 10 minutes (69)
  • Comments and Spam on Drupal Dude (38)
  • Scheduling Posts using Drupal (19)
  • Changing the Length of Post That Shows on Front Page (18)
  • Drupal Poormanscron Module (17)
more

Changing the Length of Post That Shows on Front Page

Submitted by Drupal Dude on Sun, 07/12/2009 - 9:45pm
  • Administration
  • Drupal 5.x
  • Drupal 6.x

By default Drupal will trim your posts to 600 characters. What this means is that if you have a story or posting that is longer than 600 words, Drupal will cut the content to the first 600 characters for the front page and then add a 'read more' link to the full posting.

There is a setting in Drupal that allows you change the ammount of characters that it will trim to. You can set it to the maximum of unlimited, meaning that your whole post will show on the front page and it won't cut any characters, to a minimum of 200 characters. If you set it to the mimimum, it would be like having the first few sentences of your post on the front page.

It's very easy to change the setting, but there is one issue to changing this setting if you have an active website... it won't change the amount of characters for a post that is already active. The new setting will only apply to new postings. All of your old postings will still show the amount of characters that was set when the post was last changed.

If you look at my last sentence their, you'll see a hint at how you can get your old postings to reflect the new character settings in Drupal. All you need to do is go to the posting you want to have the new settings applied, make an edit change, or you can just hit the submit button as Drupal will think you made an edit change. From here, the new length of characters setting will be applied for an older posting.

The unfortunate part is that if you have a lot of older postings, you have to do this to each one, as I do not know of a way to batch process this procedure. I fyou know of a way, please let everyone know in the comments.

Watch the video to see it in action... and Drupal rocks!

Bookmark/Search this post with:
  • Delicious Delicious
  • Digg Digg
  • StumbleUpon StumbleUpon
  • Technorati Technorati
  • Add new comment
  • Delicious Delicious
  • Digg Digg
  • StumbleUpon StumbleUpon
  • Technorati Technorati

منتديات سطلنةهيمة القلوبمنتدى

Submitted by Anonymous on Sat, 03/06/2010 - 9:57am.

منتديات سطلنةهيمة القلوبمنتدى ميك اب المكياجارشيف سلطنةمدونة سلطنةمنتديات سطلنةمنتدى ميك اب المكياج

  • reply

Thank you, DrupalDude

Submitted by Anonymous on Tue, 02/16/2010 - 3:03pm.

The Dude Abides!

I appreciate the workaround. This is a bit kludgy, because if you need to edit a front-page story after doing this, you'd need to set the preview length to unlimited again, edit and save the page, then go back and set the preview length to 600. Wish Drupal were more flexible.

But your method works and gets the job done.

  • reply

It is best to trim your posts to about 400

Submitted by Anonymous on Tue, 02/09/2010 - 10:00pm.

It is best to trim your posts to about 400 characters. That does not look too lengthy, but gives on the other hand enough data. It is also important to not the the 'read more' link is not really a back link, as it has obviously always the same anchor text. To balance that you can employ a backlink building service to build some links.

  • reply

Short teasers is important on front page

Submitted by Anonymous on Mon, 03/08/2010 - 12:21am.

Great article. 600 characters is too many as a teaser to an article for the front page. I found that for my Fantasy Hockey site it should only take 2 sentences to hook the reader and since we have shortened the amount of intro text, our average page views to those article have increased.

It has also cleared up some real estate for other things on the homepage.

  • reply

Latest Twitter Posts

Twitter Updates

    follow me on Twitter

    Popular Video Tutorials

    • Drupal 5 Overview - Build a website in 10 minutes (17,584)
    • Scheduling Posts using Drupal (5,204)
    • Adding Content Types to Drupal 5 (4,770)
    • Drupal Poormanscron Module (4,757)
    • Changing the Length of Post That Shows on Front Page (4,724)
    • Taxonomy or Categories in Drupal (4,458)
    • Clean URL's need .htaccess File (4,132)
    • Comments in Drupal 5 (4,127)
    • Where to install Drupal 5 Modules (4,063)
    • Setting Up A Contact Form in Drupal 5 (3,802)

    Recent comments

    • Wow Thanks
      3 hours 39 min ago
    • Bases can be a waste of time
      7 hours 33 min ago
    • Interesting point
      17 hours 16 min ago
    • There are some very great
      17 hours 30 min ago
    • Superbe article, vraiment
      17 hours 31 min ago
    • 111
      17 hours 34 min ago
    • tickets
      1 day 18 hours ago
    • The good feature also about
      1 day 20 hours ago
    • Thanks for a great article
      1 day 23 hours ago
    • thanks for this topci see
      2 days 8 hours ago
    more

    Search

    Navigation

    • Popular content
    • Recent posts

    Buy Me A Beer

    Categories

    General

    • Administration (15)
    • Concepts (3)
    • Installation (4)
    • News (2)

    Drupal Version

    • Drupal 5.x (30)
    • Drupal 6.x (7)

    Modules

    • Comments (1)
    • Contact List (1)
    • Fuzzy Search (1)
    • Meta Tags (1)
    • Node Clone (1)
    • Node Words (1)
    • Path (1)
    • Pathauto (1)
    • Poormanscron (1)
    • Scheduler (1)
    • Search 404 (1)
    • Statistics (1)
    • Taxonomy (Category) (2)
    Powered by Drupal, an open source content management system
    Drupal is a registered trademark of Dries Buytaert. "Drupal Dude" is not affilliated with Drupal.org or the Drupal Association
    RoopleTheme