For example, how can we check if auth is the owner of the profile?

|
m 2019-03-09 17:16:18
What
Eskindir 2019-03-09 18:10:21
anyone who have used maatwebsite excel ?
Kvn_makwana 2019-03-09 23:31:23
Eskindir 2019-03-09 18:10:21
anyone who have used maatwebsite excel ?

Yes

Eskindir 2019-03-10 00:05:21
Kvn_makwana 2019-03-09 23:31:23
Yes

Thanks…I will get back to you if anything comes up…I was having trouble reading the dates…it seems to work now 🙂

amirhossein_dz 2019-03-10 12:19:25
sorry for non relevant question,
is there any way to make a 3d model object from multiple images of various angles of a product, directly in the web with the help of three.js??
Eskindir 2019-03-10 16:03:59
Kvn_makwana 2019-03-09 23:31:23
Yes

I don’t know what went wrong but it started reading the dates as numbers … I use the format d/m/Y on the excel its outputting something like 43741 for the value 10/3/2019..

Kvn_makwana 2019-03-10 16:05:01
Can i show your code ?
Eskindir 2019-03-10 16:06:03
Eskindir 2019-03-10 00:05:21
Thanks…I will get back to you if anything comes up…I was having trouble reading the dates…it seems to work now 🙂

laravel_discuss-3404.jpg

Eskindir 2019-03-10 16:08:09
laravel_discuss-3406.jpg

Eskindir 2019-03-10 16:25:04
Eskindir 2019-03-10 00:05:21
Thanks…I will get back to you if anything comes up…I was having trouble reading the dates…it seems to work now 🙂

Turns out the number its reading is from the sample on the format …I’m confused

Eskindir 2019-03-10 16:25:31
laravel_discuss-3408.jpg

Eskindir 2019-03-10 16:38:41
Kvn_makwana 2019-03-10 16:05:01
Can i show your code ?

Anything?

starch1ld 2019-03-10 17:46:42
Hi guys. Have 1 question. How can we use 2 users in 1 policy. For example, how can we check if auth is the owner of the profile?
ldefra 2019-03-10 17:56:53
starch1ld 2019-03-10 17:46:42
Hi guys. Have 1 question. How can we use 2 users in 1 policy. For example, how can we check if auth is the owner of the profile?

Auth user pass like as first implicit parameter, other variables like as profile you pass it like as other explicit parameters

ldefra 2019-03-10 17:57:07
Sorry for my bad english
ldefra 2019-03-10 17:58:06
I hope you understood
starch1ld 2019-03-10 17:59:48
ldefra 2019-03-10 17:56:53
Auth user pass like as first implicit parameter, other variables like as profile you pass it like as other explicit parameters

Oh, thanks dude 🙂

civilArt034 2019-03-10 18:53:44
Now let’s add the supporting controller method showChangePasswordForm in Controller. For demonstration purpose I am adding my controller method’s in HomeController. But you are free to put it in any other suitable controller or create a seperate controller for the change-password functionality.

Controller Method

public function showChangePasswordForm(){
return view(‘auth.changepassword’);
}

————————————————–

had this error

————————————————————————-
public function showChangePasswordForm(){
return view(‘auth.changepassword’);
}
public function __construct()
{
$this->middleware(‘auth’);
}
Arguments
“Parse error: syntax error, unexpected ‘public’ (T_PUBLIC), expecting end of file”

why?

gabrielmoraesp 2019-03-10 19:15:40
Hi guys.
I have a plataform for learn course.
Possibility for buy course in video, books digital and impress end live.

If someone interested, just send inbox.

gabrielmoraesp 2019-03-10 19:15:56
I’m Brazilian
Eskindir 2019-03-10 19:30:15
Kvn_makwana 2019-03-10 16:05:01
Can i show your code ?

Few way arounds and its finally working and stable! Part of the issue has been excels auto formatting of date values..works without any changes on the excel.

Kvn_makwana 2019-03-10 23:01:15
Sorry i was bussy with friends
Kvn_makwana 2019-03-10 23:01:26
Actually its weekend
Kvn_makwana 2019-03-10 23:01:29
So
Kvn_makwana 2019-03-10 23:01:36
Eskindir
Kvn_makwana 2019-03-10 23:02:25
That error may be the reason because of carbon syntax or may be date time function syntax
Kvn_makwana 2019-03-10 23:03:22
Create one helper function so that you can use that dateformating function in all controller or model or blade files
Eskindir 2019-03-10 23:14:56
Ya it’s alright, ya I had tried using the helper function..but the issue was not related to formatting on carbon…the library reads two values for the same value on a cell when used differently, one the actual date and the other a number of its representation from excel. When I avoid accessing the cell values with indexes and stated using the closure it worked.
berto309 2019-03-10 23:57:21
Hi guys. How can you load a background image from a css file with laravel.
I’ve tried
background-image:url(‘img/care.png’)
and it’s not working
x0x3b 2019-03-11 00:22:18
berto309 2019-03-10 23:57:21
Hi guys. How can you load a background image from a css file with laravel.
I’ve tried
background-image:url(‘img/care.png’)
and it’s not working

pointing in class hashtag
#header
.header

Hfally 2019-03-11 00:32:40
berto309 2019-03-10 23:57:21
Hi guys. How can you load a background image from a css file with laravel.
I’ve tried
background-image:url(‘img/care.png’)
and it’s not working

Firstly, where is the image?

Hfally 2019-03-11 00:34:12
@berto309 imagine you have a folder structure of

Public/css/main.css
Public/images/bg.jpg

In your main.css, you’ll get the image using the normal relative part

../images/bg.jpg

berto309 2019-03-11 00:34:36
laravel_discuss-3439.jpg

Hfally 2019-03-11 00:35:35
Hfally 2019-03-11 00:34:12
@berto309 imagine you have a folder structure of

Public/css/main.css
Public/images/bg.jpg

In your main.css, you’ll get the image using the normal relative part

../images/bg.jpg

@berto309 do you understand this illustration?

berto309 2019-03-11 00:36:30
Hfally 2019-03-11 00:35:35
@berto309 do you understand this illustration?

Yeah

berto309 2019-03-11 00:36:46
berto309 2019-03-11 00:34:36

This is the code

Hfally 2019-03-11 00:37:23
berto309 2019-03-11 00:36:46
This is the code

Yh, is ur css folder inside the same folder as “img”?

Hfally 2019-03-11 00:37:43
Hfally 2019-03-11 00:37:23
Yh, is ur css folder inside the same folder as “img”?

If yes, then use:
../img

berto309 2019-03-11 00:39:28
Hfally 2019-03-11 00:37:43
If yes, then use:
../img

Yh.. They’re both in the public folder

Hfally 2019-03-11 00:41:04
berto309 2019-03-11 00:39:28
Yh.. They’re both in the public folder

So, use

“../img/bg-img/care.jpg”

berto309 2019-03-11 00:44:56
Hfally 2019-03-11 00:41:04
So, use

“../img/bg-img/care.jpg”

I have.. It’s working

berto309 2019-03-11 00:45:06
It’s not working
Hfally 2019-03-11 00:45:46
Make sure you referesh away from cache..
Hfally 2019-03-11 00:45:59
ctrl + shift + r is a shortcut
berto309 2019-03-11 00:47:20
Hfally 2019-03-11 00:45:46
Make sure you referesh away from cache..

Works now. Thanks 👍. Thank y’all

Hfally 2019-03-11 00:47:38
berto309 2019-03-11 00:47:20
Works now. Thanks 👍. Thank y’all

You’re welcome 😊

ScutiCode 2019-03-11 06:18:42
Hi, im starting in laravel, a good course recomended?
vfd14889 2019-03-11 10:10:33
https://www.megaweb.ir/s/GoRRGj
تغییرات لاراول 5.8 LARAVEL

آخرین مقالات دنیای وب و برنامه نویسی را در مگا وب بیابید.مگا وب
vfd14889 2019-03-11 10:10:51
https://www.megaweb.ir/s/Z4m45i
نصب لاراول ۵٫۸ با NGINX بر روی اوبونتو ۱۸٫۰۴

آخرین مقالات دنیای وب و برنامه نویسی را در مگا وب بیابید.مگا وب
yoofi_graham 2019-03-11 10:45:12
ScutiCode 2019-03-11 06:18:42
Hi, im starting in laravel, a good course recomended?

http://laracast.com

|