Timeline for How do you set a flash message in the template in Craft 3?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2019 at 8:59 | comment | added | Oliver Stark | Laurence, it was added to the docs yesterday, along with the Craft 3.1 release ;-) github.com/craftcms/cms/pull/3625 | |
Jan 16, 2019 at 10:51 | comment | added | Laurence Cope | redirect with flash notice is great. I had not found that documentation because its within the redirect documentation, whereas I had been searching for flash and did not find this page! Thanks. | |
Jan 15, 2019 at 23:52 | comment | added | Oliver Stark |
Now (Craft 3.1) you can set a notice/error message with the {% redirect %} tag: docs.craftcms.com/v3/dev/tags/redirect.html#flash-messages
|
|
Jan 15, 2019 at 0:23 | answer | added | Oli | timeline score: 10 | |
Jan 15, 2019 at 0:16 | answer | added | Brandon Kelly | timeline score: 13 | |
Jan 14, 2019 at 9:09 | comment | added | Oliver Stark |
AFAIK it is not possible to set a flash message from the template, however this might be a nice improvement for the {% redirect %} tag.
|
|
Jan 12, 2019 at 17:51 | history | asked | Laurence Cope | CC BY-SA 4.0 |