When users don't fill the title field when posting a comment, or when this field is disabled, Drupal word-safely cuts a 29 characters extract from the beginning of the comment's body to generate a title.
With this module, it is possible to choose the comment automatic title length, from 1 to 64 characters.
Comment automatic title adds another feature: it can cut this extract at the first character found, from a list you provide (full-stop, comma, etc.).

For example, let's consider this comment:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In augue purus, pellentesque ut, suscipit nec, scelerisque commodo, leo.

By default, Drupal will generate this title: Lorem ipsum dolor sit amet,.
With comment_auto_title, there are many possibilities, depending on the settings.

Length: 60, cut characters: [empty] => Lorem ipsum dolor sit amet, consectetur adipiscing elit. In
Length: 60, cut characters; . (full-stop) => Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Length: 25, cut characters: . (full-stop) => Lorem ipsum dolor sit
Length: 60, cut characters: .,?! (full-stop, comma, question mark, exclamation mark) => Lorem ipsum dolor sit amet,

This module works whether the comment title field is enabled or not.

Related modules:

Downloads

Version Downloads Date Links
6.x-1.1 tar.gz (7.9 KB) | zip (9.85 KB) 2009-Mar-25 Notes

Project Information

  • Module categories: Administration
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 80 sites currently report using this module. View usage statistics.
  • Last modified: September 18, 2010

Maintainers for Comment automatic title

  • David Stosik - 4 commits
    last: 2 years ago, first: 2 years ago

Issues for Comment automatic title

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 17 Mar 09