Flash messages are used to notify the user that something has occurred. For example, a record has been created or they attempted to access something they were not authorized to do.
Questions tagged [flash-message]
408 questions
0
votes
1 answer
Devise redirects to root after I redirect to sign_in
I'm trying to add a new login condition to an app that uses Devise.
If a request comes from an IP that's not on my whitelist, I want to prevent the login and redirect back to the sign_in page with a flash message explaining that the login was from…

bimbom22
- 4,510
- 2
- 31
- 46
0
votes
1 answer
are controllers necessary to send flash messages in rails?
this is kind of a newbie question, sorry but...if a model has no controllers, how could i perform a
flash[:notice]?
for example in
https://github.com/tute/merit
i noticed that it just has models and no controllers. i know that it would be wise to…

Sasha
- 3,281
- 7
- 34
- 52
-1
votes
1 answer
Flask flash message wont show
I have a web application with flask in which I can upload a file to an s3 storage. However, I want the users to track the upload progress of their files. For this, I'm using flash which I want to update frequently with the new upload percentage.
The…

jfst
- 1
- 3
-1
votes
1 answer
Assigning flash categories to iterated variables
I'm trying assign flash categories to an iterable variable that will generate within a form.
My HTML:

Christopher Burrows
- 13
- 4
-1
votes
1 answer
Only one time flash to user when admin send notificatin to a specicfic user
I have to send one time notification to user just flash one time when admin send notification to a specific user,Is their is any way to do it without store value in database and the notification pop not even have any close button. Larvel flash…

Manish Rajora
- 40
- 6
-1
votes
1 answer
How to add a flash message for new customized action type clone
By adding a customized action that clones an object, i want to add a flash message after clone is done.

Rami M
- 1
- 2
-1
votes
1 answer
Flash message is not displayed but exist in the flash profiler
I have a question about flash messages (I am using symfony 3.2),
my scenario is:
a user registrate then he will be redirected to login page with message :account created please check your email.
but no message is displayed ,but I can see it in the…

Julie
- 563
- 6
- 10
- 23
-1
votes
1 answer
req.flash not working with the res.redirect
I am somewhat new to the node and express world so please forgive any of my nobe mistakes, I have a couple of methods that are returning me 500 after I use something like this.
req.flash('success', 'your password has been successfully…

Hassaan
- 339
- 1
- 8
- 20
-1
votes
1 answer
Laravel flash message not working in specific method on specific redirect route
I have pretty strange problem. My flash message isn't working when I create post, but works when I delete or update it, it also works when I change redirect direction.
So in store() method when I save created post to DB I then redirect to /posts,…

GaGiiiii
- 21
- 6
-1
votes
1 answer
$this->Flash->success(__('The user has been saved.')); not working cakephp 2.X
I am trying to use Flash Component in cakephp2
I have declared the component
public $components = array('Paginator', 'Session', 'Flash');
Then trying to set Flash messages in controller:
$this->Flash->error('The cashpickup could not be saved.…

Simerjit Parmar
- 808
- 1
- 7
- 22
-1
votes
1 answer
Rails flash message
I am building an application on Rails where a user creates a Test, goes to the show view for that test and fills in a form with an answer to a question. If the answer to the question matches the "correct_answer" (defined in the controller), there…

J Seabolt
- 2,576
- 5
- 25
- 57
-1
votes
1 answer
Flash sms class 0 nokia
I searched a lot of things about the Flash sms class 0, and I'm really interested in the AT+command to send flash sms to any number.
But I read that this command can be used only on specefic devices, like some versions of Nokia.
Also, some people…

Echo Echoff
- 1
- 1
-1
votes
1 answer
Error: Class 'Flash' not found in laravel 5.2
Actually,I am building an email verification system.
After clicking on the generated link in my email ,i am getting the above mentioned error.
error:
Class 'Flash' not found
my file: http://laravel.io/bin/jQxe6

Kiran Saxena
- 163
- 2
- 13
-1
votes
2 answers
avoiding application.html.erb for flash notices on rails app landing page
I have designed two flash notices for my rails 4 application. First is supposed to appear on all pages (when an event occurs), so I have written it in my application.html.erb file. The second one should only appear on the landing page with its…

Sohail Aslam
- 727
- 4
- 24
-1
votes
1 answer
Symfony2 FlashBag, Yii setFlash
I'm wondering why this does not have implementation in Symfony2 or Yii...
My thought is: I want to place ALL errors in flash under one INDEX = 'errors' or 'success', so that i can just render them using foreaches.
How flashes work now is:
(yii…

drakonli
- 2,304
- 23
- 29