Member Since 4 Years Ago
1,860 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
Started a new Conversation Using Both Vue Js And Jquery With Laravel Mix
could I use both Vue and jquery in the Laravel project using Laravel Mix and using them in the project?
Replied to Bootstrap Install Via Npm In Laravel Project
I used mix then, is it complied with my master layout?
Started a new Conversation Bootstrap Install Via Npm In Laravel Project
I am going to install bootstrap 4 via nmp in Laravel project. Then I would like to know that may I apply bootstrap css files and js files manually in app.blade.php file to working properly in bootstrap or is it automatically embedded with the system?
Replied to Bootstrap Mobile View Is Not Working Properly
now size is okay, but image possition is not visible correct way. still it is displaying in the middle on the jumbotrone in mobile view
Replied to Bootstrap Mobile View Is Not Working Properly
in this case my image does not smaller than large device in the mobile view. it is showing same image size on both large and mobile view. I need small image to mobile size and normal view in the desktop
Replied to Bootstrap Mobile View Is Not Working Properly
@newbie360 little bit sucess here but still in the mobile view image did not minimize as mobile view. how could I do this
Started a new Conversation Bootstrap Mobile View Is Not Working Properly
working with Bootstrap 4 in Laravel and I have following bootstrap codes with external css file in the html view,
<div class="jumbotron rounded-0">
<div class="container">
<div class="row">
<div class="col-md-4">
<img src="{{asset('images/flowler.jpg')}}" alt="..." class="rounded-circle">
</div>
</div>
</div>
</div>
External css
.rounded-circle{
vertical-align: left;
width: 100px;
height: 100px;
border-radius: 50%;
position: absolute;
left: -100%;
top: -50px;
}
but in mobile view in the browser above images not displaying properly. it is not in the correct position. how could I fix this problem?
Started a new Conversation How To Use Angular In Laravel
I am working Laravel 7 and Angular 10 separately. but in My new project I am going to working with both Laravel and Angular. I need install Angular to My Laravel and do My Javascript task using Angular. but I have following problems to solve
Thanks!
Started a new Conversation Unable To Change Laravel 7 Title Name
I am using Laravel 7 and make Auth command also here. but now I need change my app name of the each page title from Laravel
to cms
. then I change app.blade.php file app name as cms. but not successful here. how could I change these
Started a new Conversation Laravel With Angular CURD
I need practice Laravel and Angular CURD Operations. Please send me good tutorials links to practice above metters?
Started a new Conversation WAMP Vertion For Laravel 8
I am working with WAMP 3.1.3 and it is php versions is PHP 7.2 . now I need installed Laravel 8 and it is woking with PHP 7.3. so, I need upgrade my php 7.2 to 7.3. but several times tryed to upgrade php do not sucess here. may I upgrade php 7.2 to 7.3 in WAMP 3.1.3? then how?
Started a new Conversation What Is Sass And Which Is The Relationship Between Bootstrap?
I have seen sass in css with Laravel 8 and I would like to know that what is sass here and what is relationship between bootstrap and sass?
Started a new Conversation Could I Use Angular 10 With Laravel 8
Could I use Angular 10 with Laravel 8 'php artisan ui' when we create login and registration? Then How?
Started a new Conversation Could I Use Make:auth Command For Make Login/registration For Laravel 8
Could I use make:auth command for make login/registration for Laravel 8?. if not how can do it?
Started a new Conversation How To Create New Laravel 8 Project Using Command Prompt?
I need create new laravel 8 project using command frompt. i am going to use following command for that.
composer create-project laravel/laravel blog
is it correct or may I put laravel version here?
Started a new Conversation How To Edit Multi Value Selection Inputs In Laravel 6?
working with Laravel 6 and mysql. I have mutiple values input using select2-multi. I have following model structure with Post and Tags Post.php model
public function category()
{
return $this->belongsTo('App\Category');
}
public function tags()
{
return $this->belongsToMany('App\Tag');
}
Tag.php Model
public function posts(){
return $this->belongsToMany('App\Post');
}
and My PostController edit function is
public function edit($id)
{
$post = Post::find($id);
$categories = Category::all();
$tags = Tag::all();
return view('posts.edit')->withPost($post)->withCategories($cats)->withTags($tags);
}
and edit blade is
<div class="form-group">
<label for="exampleFormControlSelect1">Tag</label>
<select class="form-control select2-multi" name="tags[]" id="tags" multiple="multiple">
@foreach($tags as $tag)
<option value="{{$tag->id}}" @if($tag->id === $post->tag_id) 'selected' @endif >{{$tag->name}}</option>
@endforeach
</select>
</div>
but when I try to visit edit blade view following error is coming
Undefined variable: tags (View: F:\2020 technologies\laravel\blog\resources\views\posts\edit.blade.php)
how could I fix this matter?
Started a new Conversation How To Iterate Category Options Values With Edit Blade File In Laravel 6
working with laravel 6 and need edit category options here. PostController.php
public function edit($id)
{
$post = Post::find($id);
$categories = Category::all();
$cats = array();
foreach ($categories as $category) {
$cats[$category->id] = $category->name;
}
return view('posts.edit')->withPost($post)->withCategories($cats);
}
and edit.blade.php
<div class="form-group">
<label for="exampleFormControlSelect1">Category</label>
<select class="form-control" name="category_id" id="category_id">
@foreach($categories as $category)
<option value="{{$post->category->id}}">{{$post->category->name}}</option>
@endforeach
</select>
</div>
but when I am going to edit page in the edit category options display only current category item. I need display all categories in the table? how could I manage this?
Started a new Conversation Laravel With Angular
I am going to change java script to Angular with Laravel. so, please send me good tutorials for following working with Laravel and Angular.
Replied to How To Delete Post With Resource Route Command In Laravel 6
could you explain that what is the meaning of {{ route('posts.destroy', ['post' => $post->id]) }}
of above action?
Replied to How To Delete Post With Resource Route Command In Laravel 6
@michaloravec @tykus when I follow @michaloravec solutions I got following error message here
Missing required parameters for [Route: posts.destroy] [URI: posts/{post}]. (View: F:20 technologies\laravel\blog\resources\views\posts\show.blade.php)
Replied to How To Delete Post With Resource Route Command In Laravel 6
@michaloravec could I manage this without form here?
Started a new Conversation How To Delete Post With Resource Route Command In Laravel 6
working with Laravel 6 and I have following route for My PostController
Route::resource('posts', 'PostController');
and then in My PostController as following
public function destroy($id)
{
$post = Post::find($id);
$post->delete();
return redirect()->route('posts.index');
}
and my blade file delete link like this
<div class="col-sm-6">
<a href="" class="btn btn-danger btn-block">Delete</a>
</div>
I am unable to manage how to define href link for delete in the blade file? how could I manage this?
Started a new Conversation Did Not Update Laravel Update Function
working with Laravel 6 and going to update using controller PostController
public function update(Request $request, $id)
{
$this->validate($request, array(
'title' => 'required|max:225',
'body' => 'required'
));
$post = Post::find($id);
$post->title = $request->input('title');
$post->body = $request->input('body');
$post->save();
Session::flash('success','This post was successfully updated');
return redirect()->route('posts.show', $post->id);
}
and edit.blade.php
<div class="row">
<div class="col-md-8">
<form method="PUT" action="{{ action('[email protected]',$post->id) }}" >
{{csrf_field()}}
<label for="exampleFormControlInput1">Title</label>
<input type="text" name="title" class="form-control" id="title" value="{{$post->title}}">
<label for="exampleFormControlTextarea1">Post Body</label>
<textarea name="body" class="form-control" id="body" rows="3">{{$post->body}}</textarea>
</div>
<div class="col-sm-6">
<button type="submit" class="btn btn-success btn-block" >Save Changers</button>
</div>
</div>
</div>
</form>
but when click save changes button database did not updated!!! not generated any errors
Started a new Conversation Could I Add Route For Laravel Form?
could I add 'route' keyword for Laravel form Action? Then How?
Replied to How To Install Bootstrap And Angular In Laravel 8 Using Npm
@sinnbeck okay one other problem, may I continue above npm installations without removing vue on package.json what happened? may vue also installed to my project?
Replied to How To Install Bootstrap And Angular In Laravel 8 Using Npm
@sinnbeck okay, then may I comment default vue js?
Started a new Conversation How To Install Bootstrap And Angular In Laravel 8 Using Npm
how to install bootstrap and angular in laravel 8 using npm?
Started a new Conversation Create Role-based Access Control System In Laravel
I am going to develop role-based access control system using Laravel 8 for my app. but I do not need install like laratrust component. need develop my own system. please send me if you have any tutorials to develop like role-based access control system in laravel?
Started a new Conversation Bootstrap Installation With Npm
I have some problem with installation bootstrap css framework on Laravel with npm command. where is the folder/s bootstrap files installation via npm command? how can I see bootstrap CSS and js files like manual installation?