Questions tagged [Laravel] (4037)

1
answer

Laravel — How to create a temporary link to the files?

Hello, please tell me, is it possible in Laravel to create a temporary public link to the file located in Storage? For example if the person is logged in, it creates a temporary link to the images and they are displayed in the dashboard in the img tag. There is something similar? Maybe a bag or something else to create suc...
Lincoln.Jacobs asked April 19th 20 at 12:43
1
answer

Dot notation in dealing with arrays in laravel. Is it worth to use?

In laravel there are a lot of helper methods related to working with arrays. One group of these helpers is dedicated to point notation (e.g. arr::has, arr::get, etc.). In principle, the appearance of your code becomes more readable, I think: Arr::has($array, ['product.data.price', 'product.data.name']); instead isset($arra...
Bobby_Gibson92 asked April 19th 20 at 12:40
2
answers

As you can realize the automatic loading of posts in Laravel?

Hi all. How to replace the standard pagination laravel {{$posts->links()}}, for automatic uploading of posts?
eva_Spencer asked April 19th 20 at 12:39
0
answer

Not loading the file and not written to the database?

I have created a Laravel project I have 2 Candidate Models with its data and CandidateFiles to store names of files and candidate_id! He Candidate creates and writes all the data into the database! But CandidateFiles not recorded and files also stored! Connections in the models mentioned in the migration context is also poi...
Alena.Green26 asked April 19th 20 at 12:39
2
answers

In Laravel ordered the sending of text mail will come if it if I use a local server (OpenServer)?

If I made a post in Laravel using SMTP , but use a local server (OpenServer) , it will be stored in userdata/temp/mail , and will not come in the real mail , right ?
duncan.Champlin asked April 19th 20 at 12:35
0
answer

How to connect your styles to SleepingOwl Admin?

Set admin area on Laravel. Found standard styles public/packages/sleepingowl/default/css/admin-app.css but there is a feeling that there is a rule not worth it. Tell me how and where to create and attach styles to the admin SleepingOwl Admin ?
ardella_Nikolaus asked April 19th 20 at 12:35
1
answer

How to load comments ajax in Laravel?

How to load comments via ajax? send a request form the comments, but how to return the comments themselves, for example countComments field, the controller gave, like so comments: {}, total, ... public function more(Request $request,$content,$type,$tale){ if ($request->ajax()){ $query = Comment::where('content_id', ...
Vaughn_Jaskolski asked April 19th 20 at 12:30
2
answers

Error Route::resource() in Laravel?

Error occurs Missing required parameters for [Route: post.show] [URI: post/{post}]. (View: E:\ospanel\OSPanel\domains\akademka\resources\views\posts\index.blade.php) when I changed the routes with the original values Route::get('post', 'PostController@index')->name('post.index'); Route::get('post/show/{id}', 'PostContr...
Dax_Jenkins asked April 19th 20 at 12:26
0
answer

Why not find the template View [auth.navbar] not found?

Connected the admin area, trying to make a modification, but an error is returned: View [auth.navbar] not found. View [auth.navbar] not found. (View: C:\Users\sereg\Desktop\blog\vendor\laravelrus\sleepingowl\resources\views\default\_layout\inner.blade.php) Admin/Widgets/NavigationUserBlock.php <?php namespace Admin\Wi...
claude_Kub88 asked April 19th 20 at 12:18
0
answer

Laravel how does temporarySignedRoute?

Hello! I would like to know how the link: test/email/verify/19?expires=1586985879&hash=8026c... and methods of its creation and verification. Such a reference, as I understand it, is generated by special. The value of the parameter signature depends on the other parameters, and if they will not change, the signature...
Glenna.Thomps asked April 19th 20 at 12:14