FlashMessage
flashmessage
About
Easily create RoR style flash messages that survive reloads and redirects.
Installation & usage
Install through package management.Set a message as follows:
PHP:$modx->runSnippet('Flash', array('notice' => 'You successfully barred Foo!'));
SNIPPET:[[!Flash?error=`You cannot foo that bar!`]]
And retrieve like this:
[[!Flash:error:notempty=`<div clas="alert alert-error">[[+flash_error]]</div>`]]
or:
[[!Flash:notice:notempty=`<div clas="alert alert-success">[[+flash_notice]]</div>`]]
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer magnatron
- Latest release January 28, 2016 (10 years ago)
- First seen in SiteDash January 28, 2016 (10 years ago)
- License GPLv2
- MODX support 2.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0-beta1 |
January 28, 2016
10 years ago |
— |
|
No matching releases. |
|||