Closed (fixed)
Project:
Purr Messages
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2012 at 18:32 UTC
Updated:
30 Jun 2014 at 07:53 UTC
Jump to comment: Most recent
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!