← prev | next →
rethdaro 2020-03-04 18:44:32
Roham0010 2020-03-04 18:42:20
If you want my opinion I recommend using google tools like analytics and webmaster tools instead of you own if you have a complex situation with a specific goal you can write your own ..

It’s possible If I use google analytics and show in the front page like this?
humaneguy 2020-03-04 18:44:35
Roham0010 2020-03-04 18:40:23
You want to bind a model with a string not with ID is it your situation? it this is it so you have to say to laravel my primary key is another field not id that method is doing this
and in your route noting else will change in route I used above it was wrong it’s same as you do before:
users/{user}/edit
what will now now be the parameter of the function or is it just the return…
Roham0010 2020-03-04 18:45:58
Roham0010 2020-03-04 18:42:20
If you want my opinion I recommend using google tools like analytics and webmaster tools instead of you own if you have a complex situation with a specific goal you can write your own ..
But If you want you registered users visit count you have to write it and it’s simple create a session for user for like 1 hour when this session destroyed add plus your user visit count
Roham0010 2020-03-04 18:46:51
rethdaro 2020-03-04 18:44:32
It’s possible If I use google analytics and show in the front page like this?
there are some websites to do this like this picture but I don’t think google do that
Roham0010 2020-03-04 18:47:35
humaneguy 2020-03-04 18:44:35
what will now now be the parameter of the function or is it just the return…
no need for any changes
rethdaro 2020-03-04 18:47:49
Roham0010 2020-03-04 18:46:51
there are some websites to do this like this picture but I don’t think google do that
That why I try to find solution
humaneguy 2020-03-04 18:49:28
Roham0010 2020-03-04 18:47:35
no need for any changes
Thanks bro
Gowtham_Boopathiraj 2020-03-04 18:56:37
Hi frds how to fix cross browser compalabilty
Gowtham_Boopathiraj 2020-03-04 19:09:11
Ssss
Gowtham_Boopathiraj 2020-03-04 19:09:47
Working fine in chorme
But some functonalities not working edge firefox
skys215 2020-03-04 19:35:12
It’s not Laravel question, wrong group
2589 2020-03-04 22:43:35
hey, i have few pagination on one page. how can i detect which one is activated?
2020-03-04 22:58:51
2589 2020-03-04 22:43:35
hey, i have few pagination on one page. how can i detect which one is activated?
Did you know paginate(10) methods in control with db query or modal query?
2589 2020-03-04 23:07:29
in controller
2589 2020-03-04 23:12:22
blabla->paginate(15, [‘*’], ‘likedDrawings’)
2020-03-04 23:22:44
Yes if you dd this ‘query’ you see this array have ‘current_page’
2589 2020-03-04 23:24:09
the problem is, i have 3 vars. every one not same query with self uniq pagination
2020-03-04 23:25:29
Maybe you try array merge then result merged array
2589 2020-03-04 23:31:17
2020-03-04 23:25:29
Maybe you try array merge then result merged array
here one more example,
$drawings = order by id desc, pagination 30
$drawingsMostViewed = order by views, pagination 30 mostViewed
2020-03-04 23:37:47
I am sleeping now but i look tomorrow
CardinalGus 2020-03-05 00:43:32
Good day to all! I use passport for authorization by the mobile application to access the API. Tell me how to verify the existence of a token on the side of the laravel? Those. so that when the application starts, if there is no token or the expiration date, I will be thrown to the authorization page.
CardinalGus 2020-03-05 00:46:28
Authorization by login and password goes
AngelGoitia 2020-03-05 04:15:30
Well, from a model like me, can I have to get the ID of a database field to get the data from an array?
AngelGoitia 2020-03-05 04:16:06
AngelGoitia 2020-03-05 04:15:30
Well, from a model like me, can I have to get the ID of a database field to get the data from an array?
And add it to the object
ashish1321 2020-03-05 08:28:30
how can I add Airtable api in my website page in Laravel ??
godwar53 2020-03-05 09:29:22
hello sir/ms, is it possible for create and update format date of fields with d-m-Y H:i?
godwar53 2020-03-05 09:29:39
i got an error after change format of date?
godwar53 2020-03-05 09:30:21
godwar53 2020-03-05 09:30:37
skys215 2020-03-05 09:33:13
godwar53 2020-03-05 09:29:22
hello sir/ms, is it possible for create and update format date of fields with d-m-Y H:i?
why you want to change format in database?
godwar53 2020-03-05 09:37:54
skys215 2020-03-05 09:33:13
why you want to change format in database?
i dont want change format in db
skys215 2020-03-05 09:38:14
godwar53 2020-03-05 09:37:54
i dont want change format in db
use mutator
godwar53 2020-03-05 09:38:25
but only change format after submit or update
godwar53 2020-03-05 09:39:21
for create the date it works but after edit with readonly fields it doesnt works
skys215 2020-03-05 09:40:01
why you don’t use mutator
godwar53 2020-03-05 09:40:02
skys215 2020-03-05 09:38:14
use mutator
i have already use mutator isnt it?
godwar53 2020-03-05 09:40:23
godwar53 2020-03-05 09:30:37
this my mutator
lexmaa 2020-03-05 09:40:57
i think you cannot change the dateTime format field in db
skys215 2020-03-05 09:41:20
godwar53 2020-03-05 09:40:23
this my mutator
Show the code
lexmaa 2020-03-05 09:41:45
use $casts from models
lexmaa 2020-03-05 09:41:47
i guess
godwar53 2020-03-05 09:42:21
skys215 2020-03-05 09:41:20
Show the code

skys215 2020-03-05 09:42:52
godwar53 2020-03-05 09:42:21
log the config you are getting
lexmaa 2020-03-05 09:43:02
protected $casts = [
‘is_admin’ => ‘boolean’,
];
lexmaa 2020-03-05 09:43:07
https://laravel.com/docs/6.x/eloquent-mutators
lexmaa 2020-03-05 09:43:29
maybe you can change ‘created_at’ => ‘format dd/mm/yy’
lexmaa 2020-03-05 09:43:31
something like that
lexmaa 2020-03-05 09:44:45
ah yes
lexmaa 2020-03-05 09:44:47
protected $casts = [
‘birthday’ => ‘date:Y-m-d’,
‘joined_at’ => ‘datetime:Y-m-d H:00’,
];
godwar53 2020-03-05 09:46:50
skys215 2020-03-05 09:42:52
log the config you are getting

← prev | next →