Coded
Templates by
Metronic Creators
2023 Templates Bundle
Metronic Mega Theme
Seven HTML Pro
All Templates
Pro Templates
Free Templates
Metronic ASP.NET
Vectors
Devs
Learn
We are proud to
work with Experts
Preview
Downloads
Documentations
Get Support
Buy Metronic
How-to & Tricks
Metronic Tutorials
Keen Tutorials
Blog & Announcements
Product FAQs
Support Policy
License Terms
Privacy Policy
Terms & Conditions
Refund Policy
Contact Us
Custom Work
Affiliate Program
Request Icons
Hire
Light
Dark
System
Sign In
Ask
Question
All Questions
3,277
Popular
Tags
Categories
Suggestions
95
Pre-sale Questions
144
Metronic
2,717
Getbootstrap
59
KeenThemes Market
68
Delete button on log tables in metronic 8 demo 1 laravel version
Hi there,
I have set up demo 1 on my localhost. I'm using the laravel version of metronic 8.
The delete button on the log tables does not do anything.
I notice this question was asked a couple of days ago however when I click on the answer button I get a 404 error.
Please advise how to fix this.
Thanks and have a great day
Alex Hendry
1 year ago
Laravel
Datatables
3 Answers
Text formatting options
Private reply
Cancel
Submit
Here's a how to add some HTML formatting to your comment:
<pre></pre>
for JS codes block
<pre lang="html"></pre>
for HTML code block
<pre lang="scss"></pre>
for SCSS code block
<pre lang="php"></pre>
for PHP code block
<code></code>
for single line of code
<strong></strong>
to make things bold
<em></em>
to emphasize
<ul><li></li></ul>
to make list
<ol><li></li></ol>
to make ordered list
<h3></h3>
to make headings
<a></a>
for links
<img>
to paste in an image
<blockquote></blockquote>
to quote somebody
:)
:|
:(
Replies (3)
Alex Hendry
1 year ago
Reply
Hello,
Could I please get a response to this query? I can provide my purchase code.
Thanks!
Alex Hendry
1 year ago
Reply
So my page is missing this java script:
$.ajaxSetup({headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}});
LaravelDataTables["audit-log-table"].on('click', '[data-destroy]', function (e) {
e.preventDefault();
if (!confirm("Are you sure to delete this record?")) {
return;
}
axios.delete($(this).data('destroy'), {
'_method': 'DELETE',
})
.then(function (response) {
LaravelDataTables["audit-log-table"].ajax.reload();
})
.catch(function (error) {
console.log(error);
});
However, you have this on your page at https://preview.keenthemes.com/metronic8/laravel/log/audit?demo=demo1
Please advise on how to fix....
Thanks!
F
Faizal
Author
1 year ago
Reply
Hi Alex,
We got your support request via email. Could you please try to use "php artisan serve" command to start the localhost? then go to http://127.0.0.1:8000/ to open the laravel app.
Thanks
Text formatting options
Private reply
Cancel
Submit
Here's a how to add some HTML formatting to your comment:
<pre></pre>
for JS codes block
<pre lang="html"></pre>
for HTML code block
<pre lang="scss"></pre>
for SCSS code block
<pre lang="php"></pre>
for PHP code block
<code></code>
for single line of code
<strong></strong>
to make things bold
<em></em>
to emphasize
<ul><li></li></ul>
to make list
<ol><li></li></ol>
to make ordered list
<h3></h3>
to make headings
<a></a>
for links
<img>
to paste in an image
<blockquote></blockquote>
to quote somebody
:)
:|
:(
Text formatting options
Private reply
Cancel
Submit
Here's a how to add some HTML formatting to your comment:
<pre></pre>
for JS codes block
<pre lang="html"></pre>
for HTML code block
<pre lang="scss"></pre>
for SCSS code block
<pre lang="php"></pre>
for PHP code block
<code></code>
for single line of code
<strong></strong>
to make things bold
<em></em>
to emphasize
<ul><li></li></ul>
to make list
<ol><li></li></ol>
to make ordered list
<h3></h3>
to make headings
<a></a>
for links
<img>
to paste in an image
<blockquote></blockquote>
to quote somebody
:)
:|
:(
Search
ctrl + /
Metronic
Go to Metronic
Downloads
Purchase Metronic
Refunds
React Dev Vacancy
KeenThemes is looking for a
Junior React or Vue
developer to build awesome apps.
Apply
Please wait...
No recent searches
Sign In
Email
Password
Forgot Password ?
Remember me
Sign In
Please wait...
Sign In with Google
Or
Create an Account
Thank you!
We have sent an activation link to your email.
Please click it and you are done.
Your email is confirmed. Please sign in to use our services.
Sign In
Create Account
Email
Password
Confirm Password
I agree with
Keenthemes Term of Use
Sign Up
Please wait...
Sign In with Google
Already have an account ?
Sign In
Forgot Your Password ?
Please enter your email and we will send a link to your email to reset your password
Reset Password
Please wait...
Cancel
We use cookies to ensure you get the best experience on our website.
Learn more
I agree