Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
when reading new messages in mgrowl_json(), message display size is fixed (truncate_utf8()). This causes problems with system-created events, which don't have much visible text, but have semantic structures in them.
So, truncated size should be configurable / use node teaser size.
Or, possibly use node_teaser() directly.
Comment | File | Size | Author |
---|---|---|---|
#2 | length.patch | 2.08 KB | Berdir |
Comments
Comment #1
BerdirYes, I guess a variable for the length + using node_teaser (has been renamed to text_summary() in D7) is the way to go. Will tackle this once #495662: Theme functions for notifications is in.
Comment #2
BerdirOk, as promised, here is a patch. As said above, this uses node_teaser() and makes the length configurable with a setting that defaults to 400.
Please test.