Currently, it seems you can configure the 'fade-out' time for messages but not force them to remain on-screen until dismissed. I'd like to see an option to change this, as it could lead to valuable information being lost if a user simply looks away from the page for a minute for whatever reason.
Comments
Comment #1
tancI've implemented a new feature to allow messages to remain onscreen, aka 'sticky' messages. This can be configured site-wide from the purr messages admin screen or alternatively called on a per-message basis by specifying the type as 'sticky'. See http://tanc.me/purr-messages-demo for a demonstration.
Example code for displaying a sticky error message if site wide sticky messages are not turned on:
drupal_set_message('This is a <strong>sticky</strong> message which is also an <strong>error</strong> and will only clear with user interaction', 'sticky error');Comment #2
danepowell commentedLooks good, thanks for the quick response!