← prev | next →
AlaviMostafa 2020-12-11 21:50:57
i change folder dir to front/auth and now routes not working
Aeonfox 2020-12-11 22:03:02
AlaviMostafa 2020-12-11 21:50:57
i change folder dir to front/auth and now routes not working
Okay.. did you use jetstream livewire for your auths?
AlaviMostafa 2020-12-11 22:03:19
Aeonfox 2020-12-11 22:03:02
Okay.. did you use jetstream livewire for your auths?
yes
AlaviMostafa 2020-12-11 22:06:11
i change in the srcfortify.php
this codes
static::loginView($prefix.’login’);
to
static::loginView(‘fron’.$prefix.’login’);
and thats work but it’s ok?
DesolatorMagno 2020-12-11 22:21:10
Shouldn’t it be changed in the config? extending the original features?
Aeonfox 2020-12-11 22:23:30
AlaviMostafa 2020-12-11 22:06:11
i change in the srcfortify.php
this codes
static::loginView($prefix.’login’);
to
static::loginView(‘fron’.$prefix.’login’);
and thats work but it’s ok?
In other to change to your view routes
Go to your fortifyserviceprovider and add this to the boot function
For login view
Fortify::loginview(function(){
Return view(‘auth.login’)
})
You can add that and change to what ever view for your login
Aeonfox 2020-12-11 22:25:12
Do same for register
Aeonfox 2020-12-11 22:27:28
I used that to change my login and register route because iam using a different login and registration template different from the jetstream auth views
Aeonfox 2020-12-11 22:28:30
DesolatorMagno 2020-12-11 22:21:10
Shouldn’t it be changed in the config? extending the original features?
I think the config only handles for redirecting a user after a successful registration
DesolatorMagno 2020-12-11 22:29:21
AlaviMostafa 2020-12-11 22:29:58
Aeonfox 2020-12-11 22:27:28
I used that to change my login and register route because iam using a different login and registration template different from the jetstream auth views
exactly. i need to use different template from the jetstream auth view.tanx a lot
DesolatorMagno 2020-12-11 22:30:37
You can also publish the view, and change it with the one you use.
Aeonfox 2020-12-11 22:30:49
DesolatorMagno 2020-12-11 22:29:21
Okay … this features are for disabling the the jetstream auth
Aeonfox 2020-12-11 22:31:08
DesolatorMagno 2020-12-11 22:30:37
You can also publish the view, and change it with the one you use.
How do you mean ?
DesolatorMagno 2020-12-11 22:31:12
YES, but you can extend the feature and change what it do.
Aeonfox 2020-12-11 22:31:29
AlaviMostafa 2020-12-11 22:29:58
exactly. i need to use different template from the jetstream auth view.tanx a lot
You welcome hope that works for you
DesolatorMagno 2020-12-11 22:32:29
in any case, changin there and in the serviceprovider should be enough to modify it as needed.
Aeonfox 2020-12-11 22:32:43
DesolatorMagno 2020-12-11 22:32:29
in any case, changin there and in the serviceprovider should be enough to modify it as needed.
Exactly
AlaviMostafa 2020-12-11 22:32:59
Aeonfox 2020-12-11 22:31:29
You welcome hope that works for you
i test it. anyway tan x to answer to my question.🌹
Aeonfox 2020-12-11 22:33:23
DesolatorMagno 2020-12-11 22:32:29
in any case, changin there and in the serviceprovider should be enough to modify it as needed.
Reny are you good with developing functions ?
Aeonfox 2020-12-11 22:34:52
I need help with functions, I find it difficult to develop or write logical functions because sometimes I might not know the right argument to pass
DesolatorMagno 2020-12-11 22:36:50
With enough practice even a normal person can appear as someone with talent
DesolatorMagno 2020-12-11 22:37:23
You just need to keep practicing and reading.
Aeonfox 2020-12-11 22:43:30
DesolatorMagno 2020-12-11 22:37:23
You just need to keep practicing and reading.
Okay.. thanks
Aeonfox 2020-12-11 22:45:58
Public function update(Reguest $request){
}
Please can anyone explain what those arguments passed entails
DesolatorMagno 2020-12-11 22:46:32
Did you tried watching a video tutorial?
Aeonfox 2020-12-11 22:47:24
DesolatorMagno 2020-12-11 22:46:32
Did you tried watching a video tutorial?
Do you have any to share ?
natghi2010 2020-12-11 22:47:41
Aeonfox 2020-12-11 22:45:58
Public function update(Reguest $request){
}
Please can anyone explain what those arguments passed entails
request = $_POST info
DesolatorMagno 2020-12-11 22:47:46
Here, it is my recomendation.
https://phptherightway.com/
https://laracasts.com/series/php-for-beginners
https://laracasts.com/series/laravel-6-from-scratch
The PHP Practitioner –
LaracastsWe all start somewhere. When it comes to web development with PHP, well, your first stop is this series. Designed specifically and exclusively for beginners, here, you’ll learn the fundamentals of PHP – all the way down to defining variables and arrays.
If you feel somewhat unprepared for the content at Laracasts, this
DesolatorMagno 2020-12-11 22:47:57
those 3 in that order.
Aeonfox 2020-12-11 22:50:27
Okay.. let me have a look
Aeonfox 2020-12-11 22:50:57
natghi2010 2020-12-11 22:47:41
request = $_POST info
Could you elaborate please
natghi2010 2020-12-11 22:51:51
Aeonfox 2020-12-11 22:50:57
Could you elaborate please
whatever data you are sending from the client
Aeonfox 2020-12-11 22:54:21
natghi2010 2020-12-11 22:51:51
whatever data you are sending from the client
Ohh.. I get now
Dushyantsinghds 2020-12-11 22:56:03
Microsoft Azure vouchars
Anyone need??
← prev | next →