My mistakes

How to control the Drupal Teaser break for content promoted to the home page

Posted on: December 18, 2007

There is a setting that allows you to set the number of words for the truncation location of the teaser. This setting is under Administer > Settings > Posts. The only problem is that once you set this, you have to open and save old posts for the new teaser length to be set.

Another way
Insert the following without quotes where you want to force a teaser break:

<!--break-->

The statement will be hidden as a hidden comment in html and it will tell Drupal to break text where needed.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: