Category : javascript

I am using the package https://github.com/alexusmai/laravel-file-manager which comes with either a pre-compiled js file or you may use npm to create fronted through a vue-componenet from https://github.com/alexusmai/vue-laravel-file-manager. I am using the Laravel file-manager in my application, but I would like to make customization’s to the vue files to change the front-end. What I tried so ..

Read more

Need help for activating several JS features, such as Show Data Entries, Search, Sort by, and Paginate. I’m using Laravel 8. JS Datatable // Call the dataTables jQuery plugin $(document).ready(function() { $(‘#dataTable’).DataTable(); }); View Blade @extends(‘back.index’) @section(‘content’) <main> … <div class=”table-responsive”> <table class=”table table-bordered table-hover” id=”dataTable” width=”100%” cellspacing=”0″> <thead> <tr style=”text-align: center;”> <th style=”width: 10%”>#</th> ..

Read more

I’m looking for a product search function for an online shop and getting the products details of 1688.com using the product url and get the result on my custom page using php, javascript or laravel codes, any clue or available code? What Have Tried: below is the index.php code <div class=”slogan”> <form action=”/product.php” method=”get” target=”_blank”> ..

Read more

I’m new to Vue js and I get this error vue.js:1400 Uncaught TypeError: Cannot read property ‘post’ of undefined at Proxy.store (D:WorkspaceWebLaravue-clientsrcviewsproductcreate.vue:86) I followed a tutorial from someone on youtube, but that person did not get this error <form @submit.prevent="store()"> <div class="mb-3"> <label for="" class="form-label">Name</label> <input type="text" class="form-control" v-model="product.name" /> <div class="text-danger">Validation Message</div> </div> <div ..

Read more

I’m using reactjs in a laravel 8 project, when I try to render this component: <main className="main-container"> {/* new collection directory */} <section id="content-block" className="slider_area"> <div className="container"> <div className="content-push"> <div className="row"> <div className="col-md-3 col-md-push-9"> <div className="sidebar-navigation"> <div className="title">Product Categories<i className="fa fa-angle-down"> </i> </div> <div className="list"> <a className="entry" href="#"> <span> <i className="fa fa-angle-right"> </i>Evening dresses</span> </a> ..

Read more

I have on Laravel object that I created and when I dd it out it contain this data attributes: array:8 [▼ "id" => 252 "babyId" => "1" "type" => "pee" "method" => "POST" "logId" => "3287" "note" => "{"id":3287,"type":"pee","created_at":"2021-04-12T10:08:21.000000Z","updated_at":"2021-04-12T10:08:21.000000Z","note":"","babyId":"1"}" "created_at" => "2021-04-12 06:08:21" "updated_at" => "2021-04-12 06:08:21" ] If you notice these 2 columns > ..

Read more

I have a Laravel object created and contains attributes: array:8 [▼ "id" => 252 "babyId" => "1" "type" => "pee" "method" => "POST" "logId" => "3287" "note" => "{"id":3287,"type":"pee","created_at":"2021-04-12T10:08:21.000000Z","updated_at":"2021-04-12T10:08:21.000000Z","note":"","babyId":"1"}" "created_at" => "2021-04-12 06:08:21" "updated_at" => "2021-04-12 06:08:21" ] If you notice these 2 columns > "note" => "{"id":3287,"type":"pee","created_at":"2021-04-12T10:08:21.000000Z","updated_at":"2021-04-12T10:08:21.000000Z","note":"","babyId":"1"}" > "updated_at" => "2021-04-12 06:08:21" I’ve tried ..

Read more

I want to make something with daterangepicker and laravel. I have create this table: Schema::create(‘events’, function (Blueprint $table) { $table->increments(‘id’); $table->string(‘name’, 255); $table->string(‘phone’, 255); $table->text(‘adress’); $table->string(‘cp’, 255); $table->string(‘town’, 255); $table->timestamp(‘start_time’); $table->timestamp(‘end_time’)->nullable(); $table->text(‘special’); $table->integer(‘active’)->default(0); $table->timestamps(); }); } And i have this blade template: <!– TITLE END –> {!! Form::open(array(‘route’ => ‘reserver.store’)) !!} <div class="form-group row"> <div ..

Read more