Questions tagged [flash-message]

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.

408 questions
1
vote
1 answer

(Flask API), make firebase uploaded images have unique names

I'm building an API that uploads images to Firebase storage, everything works as expected in that regard, the problem is that the syntax makes me specify the file name in each upload, and in production mode the API will receive upload requests from…
1
vote
0 answers

React-Native Flash-Message with Mobx and React-navigation

I'm trying to use react-native-flash-message to provide little toasts in my app, and I am supposed to add the flash message to my root view. I cannot figure out where that is in my app. I used examples to get up and running with…
shawleigh17
  • 1,147
  • 4
  • 22
  • 42
1
vote
2 answers

Implementing a flash message on a Smarty site?

I'm trying to implement a "Flash Message" (a little message that'll show on the top on the "next" request, saying things like "record saved"), in a PHP site that has pretty messy code and uses Smarty. The best I could come up with is: I set the…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
1
vote
1 answer

Laravel Flash Message- show unescaped html that has been set from Voyager admin panel

// session()->flash("message", "{{ setting('site.contact_success_msg') }}"); //doesn't work // session()->flash('message', 'Thank you so much for your feedback.'); //works. session()->flash('message', {!!…
user33192
  • 1,012
  • 1
  • 13
  • 21
1
vote
2 answers

Flash message in symfony 3.4

I'm trying to set flash message from ContactAction then redirect on Homepage, but on it, I can't see my flash message, maybe my session is reset ? Can I have some help, I'm a beginer on Symfony. CoreController that contain both index and contact…
Solber
  • 147
  • 2
  • 9
1
vote
2 answers

Nodejs Flash messages only loads after the page is refreshed (connect-flash)

I'm getting stuck with connect-flash , all flash messages doesn't load on the page unless I refresh for a couple of times I'm not sure why. I created a small project just to test connect-flash and it's the same result, please check the code…
1
vote
5 answers

Flash message shows after clicking, go back and go forward browser button

I have shown flash message once request is received from the server. If a users click go back and go forward button simultaneously... He again sees the same flash message which I think it's a bad message to the users... How can I solve this issue?
msbomrel
  • 521
  • 6
  • 19
1
vote
1 answer

Error in error: Metadata version mismatch for angular2-flash-messages

I'm going through Traversy Media on YouTube's MEAN stack front to back playlist and after importing the flash-messages, the console is giving the error and I can not understand. I've read few gitHub issue pages but they don't lead to…
Divyesh Parmar
  • 321
  • 1
  • 6
  • 15
1
vote
3 answers

devise 5: How do I modify the Flash messages from Devise to match my css for flash messages?

I'm running the latest version of devise 5 in my Rails 5.1 application. I have the following CSS code for flash messages in my stylesheet. div.alert.alert-danger, .alert-danger { background-color: #ff0000; } div.alert.alert-info, .alert-info {…
1
vote
2 answers

Metadata version mismatch for module... angular-flash-messages, any solution for this

ERROR in Error: Metadata version mismatch for module /Users/ip/Sites/SmartShoeApp/angular-src/node_modules/angular2-flash-messages/module/index.d.ts, found version 4, expected 3, resolving symbol AppModule in…
1
vote
4 answers

Flash message show continuously in code-igniter

The flash message show continuously in open another page the we complete that event show that event message Controller $this->session->set_flashdata('msg', '
Some error occured... Try…
Shambu
  • 73
  • 1
  • 9
1
vote
4 answers

How do I create a custom flash message for Devise?

I tried the following but it's not working. It's still using the default flash message. class Users::SessionsController < Devise::SessionsController after_action :custom_welcome, :only => [:create] def custom_welcome flash.notice = "Welcome…
Chloe
  • 25,162
  • 40
  • 190
  • 357
1
vote
2 answers

How to log all Flash messages?

In order to see which errors recur and helping the user support, I would like to log all flash error messages to a file. Is there a hook in the Typo3 Flash Messaging system for this? (Using v7.6)
giraff
  • 4,601
  • 2
  • 23
  • 35
1
vote
1 answer

Rails: Flash messages doesn't clear until it is read/accessed

I set the flash message as below in one of my routes def signup flash[:is_signup] = true ... redirect_to route1 : route2 // based on some logic, redirect accordingly end def route1 // access flash[:is_signup] …
Sanjay
  • 111
  • 1
  • 9
1
vote
0 answers

How do i write this query in sqlalchemy?

I have an existing sqlalchemy objects which i generated into sql (postgres) class Category(Model, BaseNestedSets): id = Column(Integer, primary_key=True) name = Column(String(400), index=True, unique=False) image =…