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.