Body Readmore

Component ID

1790716

Component name

Body Readmore

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Hides read more links if a node has a body field that is not trimmed.

Mimics Drupal 6.x teaser "read more" link behavior for Drupal 7.x:

  • If the body field is empty or short enough to display in full, display no "read more" link.
  • If the body field is trimmed due to character limit or page break, display a "read more" link.

In Drupal 7, in part because body is now just a field like everything else, node teasers will always display read more links, even if they would display a shorter (trimmed or summarized) body.

There already exists a module that can provide this functionality (readmorecontrol). However, the module also provides many more options and settings, whereas body_readmore just mimics D6 and provides no options or additional settings.

See also, this discussion (Drupal core issue) http://drupal.org/node/823380