I am modifying a custom CRM and integrating adminLTE, so no components, changes between laravel 6 and 7 major?

|
2020-06-18 02:18:54
Please can anyone help ?
Siberfx 2020-06-18 02:33:26
DesolatorMagno 2020-06-17 23:32:33
web browser cache is a posibility, hard refresh ctrl + f5

Not that anymore. Ctrl+R or hard one Ctrl+Shift+R

Siberfx 2020-06-18 02:36:00
2020-06-18 02:18:54
Please can anyone help ?

Show code of thst controller

2020-06-18 02:38:42
Siberfx 2020-06-18 02:36:00
Show code of thst controller

https://hastebin.com/zenubawoku.php

Siberfx 2020-06-18 02:45:05
2020-06-18 02:38:42
https://hastebin.com/zenubawoku.php

So much if statements, its too expensive. But anyway, how do you try to run it? Through a route or an action ?

DesolatorMagno 2020-06-18 02:48:05
Did you change the name of the controller? did you made it using php artisan?
Siberfx 2020-06-18 03:14:02
his issue was simple, as I understood, his route was cached, and in cached routes the route wasnt exist
Siberfx 2020-06-18 03:14:26
and he had a route with cleaning caches,views,routes by a route
Siberfx 2020-06-18 03:14:39
I used it and seems all fine
Lisendra 2020-06-18 04:23:26
Hi folks, i am learning laravel, got a question: in the @section(‘content’), can i append multiple blade files composed only of divs which are graphs, to compose my dashboard like a of various graph according to my need, is this something normal? possible? it would we like calling the various js script one after each others.
TDLR:i am speaking about the body content, and appending multiples Views to it
Siberfx 2020-06-18 05:10:06
you can do, but also you can use the components which is built-in function with laravel7+
arafhossain 2020-06-18 05:10:45
Lisendra 2020-06-18 04:23:26
Hi folks, i am learning laravel, got a question: in the @section(‘content’), can i append multiple blade files composed only of divs which are graphs, to compose my dashboard like a of various graph according to my need, is this something normal? possible? it would we like calling the various js script one after each others.
TDLR:i am speaking about the body content, and appending multiples Views to it

Yes u can

arafhossain 2020-06-18 05:11:01
Siberfx 2020-06-18 05:10:06
you can do, but also you can use the components which is built-in function with laravel7+

As he said

Lisendra 2020-06-18 05:12:28
i am modifying a custom CRM and integrating adminLTE, so no components, changes between laravel 6 and 7 major? i suppose but i speak more about breaking the code
arafhossain 2020-06-18 05:14:10
I think @Siberfx sir can answer it very well
Siberfx 2020-06-18 05:15:30
there are several changes in code to upgrade.. but in use cases there are performance boosts, new functions, and for test cases improvements exists
Lisendra 2020-06-18 05:19:19
Siberfx 2020-06-18 05:15:30
there are several changes in code to upgrade.. but in use cases there are performance boosts, new functions, and for test cases improvements exists

i will take a look at some youtube videos to try the upgrade

Lisendra 2020-06-18 05:20:10
arafhossain 2020-06-18 05:10:45
Yes u can

so how to to it in laravel 6 properly? i have been googling but no luck

Siberfx 2020-06-18 05:31:40
what exactly trying yo do ?
Lisendra 2020-06-18 05:36:00
as said earlier, i would like to append to the content section multiple views in selected order
Lisendra 2020-06-18 05:38:48
something like this:
@section(‘content’)
<div class=”container-fluid”>
@include(‘tasks.task’)
@include(‘tasks.task2’)
</div>
@endsection
Lisendra 2020-06-18 05:39:40
will this work ?
Lisendra 2020-06-18 05:49:57
well just tried it, it work, now i am gonna try to mess with laravel mix,I am trying to clean up the mess in the code by modulating it for easyer readability
Siberfx 2020-06-18 05:59:07
yes it will
ermolaev_sasha 2020-06-18 08:54:18
laravel_discuss-42041.jpg
Installing laravelcollective, how do I edit the composer.json file?
yabzik 2020-06-18 08:58:28
ermolaev_sasha 2020-06-18 08:54:18
Installing laravelcollective, how do I edit the composer.json file?

There is command below

ermolaev_sasha 2020-06-18 09:17:05
yabzik 2020-06-18 08:58:28
There is command below

Thank

rashadpoovannur 2020-06-18 12:49:56
laravel_discuss-42045.jpg
how can i convert this column data to array when return
skys215 2020-06-18 12:59:22
rashadpoovannur 2020-06-18 12:49:56
how can i convert this column data to array when return

Json_decode

lmboom 2020-06-18 13:02:40
rashadpoovannur 2020-06-18 12:49:56
how can i convert this column data to array when return

casts

rashadpoovannur 2020-06-18 13:18:32
lmboom 2020-06-18 13:02:40
casts

Not working

amirAutomationEnginner 2020-06-18 16:13:14
Hi i want to change something in control panel which when manager open panel the notifications go for him for example a new user registered or sb put a new comment how can i do this?
amirAutomationEnginner 2020-06-18 16:14:17
rashadpoovannur 2020-06-18 12:49:56
how can i convert this column data to array when return

->array()

ForeingNavarro 2020-06-18 16:29:21
Hello I am new in laravel
ForeingNavarro 2020-06-18 16:30:53
I am trying to use a botstrap modal to delete a registry
ForeingNavarro 2020-06-18 16:31:25
confirmation delete modal
2020-06-18 16:32:42
Hello guys I am new to laravel
ForeingNavarro 2020-06-18 16:33:20
but the issue is when I execute the submit button on modal window to send the id of the registry to delete it, this always send the first registry id only, why?
DesolatorMagno 2020-06-18 16:33:47
Because you are doing to wrong 😂
DesolatorMagno 2020-06-18 16:34:10
Show some code so we can help.
2020-06-18 16:34:22
laravel_discuss-42065.jpg
Photo from Sayd
2020-06-18 16:35:05
I am experiencing this problem when i am trying to do migration using sqlite
ForeingNavarro 2020-06-18 16:38:03
yeah, I now, that is wrong, but I am try to now the modal window need javascript code to pass the id of registry
2020-06-18 16:39:55
Anybody to help please
ForeingNavarro 2020-06-18 16:47:28
laravel_discuss-42069.jpg
this is the index
DesolatorMagno 2020-06-18 16:56:30
Check the url that is generated, if is right make the delete method return the model instead of deleting.
ForeingNavarro 2020-06-18 16:58:52
laravel_discuss-42074.jpg

ForeingNavarro 2020-06-18 16:59:25
laravel_discuss-42076.jpg

ForeingNavarro 2020-06-18 17:00:15
always send the same id the same id
DesolatorMagno 2020-06-18 17:00:32
You can inspect the element.
|