From Python can be done this way:
request.user.message_set.create(message=_('You did it!'))
notify.show(gettext('You did it')); //will hang until deleted or the page reloaded notify.show(gettext('Yeah'), true); //in this case message will flash and fade out
The fade-out effect will be available in the future release, probably 0.7.45.
A separate question is - which messages you'd want to show and in what circumstances...
Encouraging messages are great, but should not be shown way too often.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2012-07-27 21:13:26 -0500
Seen: 33 times
Last updated: Jul 28 '12