You have notification table?

|
ats Soki 2022-07-05 17:29:50
Kvn_makwana 2022-07-05 17:28:29
Automatic API calls ?

Yes.

Kvn_makwana 2022-07-05 17:37:16
Kvn_makwana 2022-07-05 17:28:44
You can use AJAX on frontend side.

Try this

ats Soki 2022-07-05 17:41:17
Kvn_makwana 2022-07-05 17:37:16
Try this

Okay, thanks.

Guudu 😊 2022-07-05 18:08:02
Can one can help me my queue:listen not working
Guudu 😊 2022-07-05 18:16:04
Anyone
nowodev 2022-07-05 18:18:09
Guudu 😊 2022-07-05 18:08:02
Can one can help me my queue:listen not working

Probably use queue:work

Amit Sharma 2022-07-05 18:55:12
laravel_discuss-127952.jpg
anyone pls help me how to fetch and show this notification data ?
Harry Luck 2022-07-05 18:56:28
Amit Sharma 2022-07-05 18:55:12
anyone pls help me how to fetch and show this notification data ?

Could you tell me in detail?

Amit Sharma 2022-07-05 18:58:54
yes
Amit Sharma 2022-07-05 18:59:11
i have created one notification
Amit Sharma 2022-07-05 18:59:25
for database notification
prodev0112b 2022-07-05 18:59:37
Amit Sharma 2022-07-05 18:59:11
i have created one notification

okay.

Amit Sharma 2022-07-05 18:59:59
i did it like
Amit Sharma 2022-07-05 19:00:10
public function Notify()
{
$user = User::first();
$data = [
‘name’=>’Amit Sharma’,
’email’=>’test@gmail.com’
];
Notification::send($user, new TestNotification($data));
dd(‘done’);
}
Amit Sharma 2022-07-05 19:00:55
that was done data inserted in my database notifications table
Amit Sharma 2022-07-05 19:01:32
now i want to show this data in any blade file
Amit Sharma 2022-07-05 19:02:36
are you getting my point ?
zcoll 2022-07-05 19:03:27
How to remove the public folder from URL in production version !!???
Amit Sharma 2022-07-05 19:07:33
is no one here to help?
zcoll 2022-07-05 19:14:01
Amit Sharma 2022-07-05 19:07:33
is no one here to help?

I don’t get you ?!

Amit Sharma 2022-07-05 19:15:25
Amit Sharma 2022-07-05 18:55:12
anyone pls help me how to fetch and show this notification data ?

i want to show notification

zcoll 2022-07-05 19:18:02
Amit Sharma 2022-07-05 19:15:25
i want to show notification

You have notification table ?

You wanna to show it in all site pages

Is that what you want ?

Amit Sharma 2022-07-05 19:18:25
yes
zcoll 2022-07-05 19:18:54
You can get it by model and save it into session
Amit Sharma 2022-07-05 19:20:03
laravel_discuss-127971.jpg
i am getting it like
zcoll 2022-07-05 19:20:25
https://stackoverflow.com/questions/53454932/notifications-in-laravel-stored-in-session-how-to-create-and-clear-them

Notifications in Laravel, stored in Session (how to create and clear them)Stack Overflow
I’m making an application, where I’ve added this to my view-template, to show all the notifications / status-messaged / alerts:

@if ( ! empty( session(‘notifications’) ) )
@foreach( session(‘

Amit Sharma 2022-07-05 19:20:26
but i want name
zcoll 2022-07-05 19:20:37
This may help
zcoll 2022-07-05 19:21:27
You should right it right

$data[‘name’]

Doodle_NFT 2022-07-05 19:21:44
👍👍👍👍👍👍👍👍👍👍👍👍👍
Gopi Krishna 2022-07-05 19:21:47
I need one help
Gopi Krishna 2022-07-05 19:21:58
Anyone?
zcoll 2022-07-05 19:22:12
Did it work for you?
zcoll 2022-07-05 19:22:23
Gopi Krishna 2022-07-05 19:21:58
Anyone?

Ask

Gopi Krishna 2022-07-05 19:23:05
I am updating a some data by id , now how to get another data from id
zcoll 2022-07-05 19:23:36
U should select entire row by id
Gopi Krishna 2022-07-05 19:24:18
OK
zcoll 2022-07-05 19:25:42
Model where id
Amit Sharma 2022-07-05 19:26:07
zcoll 2022-07-05 19:22:12
Did it work for you?

no

zcoll 2022-07-05 19:26:42
Dump it
Amit Sharma 2022-07-05 19:29:10
i am trying to do it like @foreach ($notifications as $notification)
<div class=”alert alert-info”>{{ $notification->$data[‘name’] }}</div>
@endforeach
Amit Sharma 2022-07-05 19:29:21
but not worked
Amit Sharma 2022-07-05 19:30:10
i am getting it from database like $notifications = DB::table(‘notifications’)->select(‘data’)->get();
Sss 2022-07-05 19:43:13
M not able to create storage link on shared server of hostinger so any one have idea how to do that
Doodle_NFT 2022-07-05 19:44:06
👍👍👍👍👍👍👍👍👍👍👍👍👍
zcoll 2022-07-05 19:52:30
Amit Sharma 2022-07-05 19:30:10
i am getting it from database like $notifications = DB::table(‘notifications’)->select(‘data’)->get();

Not right way

RAMKUMAR 2022-07-05 19:53:39
Any one from vellore?
zcoll 2022-07-05 19:57:34
Amit Sharma 2022-07-05 19:30:10
i am getting it from database like $notifications = DB::table(‘notifications’)->select(‘data’)->get();

DB::table(‘notifications’)->select ()->get();

nohello_robot 2022-07-05 20:02:08
Hey Carlos! Please do not just say hello. Instead, write your question or idea. (???)
Carlos 2022-07-05 20:03:27
I have a question here how to put conditions in three buttons that open different pdf documents in the view
|