Loading
Flash variables
These are only used in the _flash templates.
Variable Description
keyThe type of message, either success, notice, or error e.g. {{ flash.key }}
messageThe message e.g. {{ flash.message }}
pagePage referred to e.g. @{{ flash.page }}
page_idPage ID referred to e.g. {{ flash.page_id }}
Do you like this page?

Showing 4 reactions


max norton commented 2012-02-13 15:49:49 -0800 · Flag
Thanks Jesse. It would be great to be able to edit the headline at some point—example, I’m going to be using the volunteer form to collect endorsements (because it has more flexible custom fields than the endorsement form, it seems) and I’d love to be able to change the headline to something other then “Someone will be in touch” because, well, we don’t necessarily need to get in touch with all endorsers. But, I can obviously live with what it is now. Thanks for your help.
Jesse Haff commented 2012-02-06 13:41:02 -0800 · Flag
The flash.message is actually just the headline (such as “Thanks for signing!”) and is set automatically. You can edit the face tweet message underneath which people post to Twitter and Facebook by clicking Settings > Social Media when editing the page.
max norton commented 2012-02-06 13:06:14 -0800 · Flag
Is there some central location where we can edit the contents of flash.message?