Comment automatic title
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
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: