This course has released 3 years ago. Please complete it. Thank you.
Hi all! I don’t if this the right place to post this sorry in advance, but can someone please me find a video on how to upload an entire folder directory with laravel?
Example: a user click a button and select a folder with subfolder and files thank you very much
Showing new files for approval lesson 41. Multiple parts of the videos are missing ?????
On lesson 37.Roles setup the is a missing part for the setup of traits and create user role table.You can easily write the code on your own,but if you are having trouble you can search the Roles and permissions Course.
On lesson 22 im getting the following error: array_flip(): Can only flip STRING and INTEGER values! Help ?
I did that one just a few days ago, did you figure it out? If not can you post what you have?
i left it as array instad of array_only. protected function currentPropertiesDifferToGiven(array $properties){
1return array($this->toArray(), self::APPROVAL_PROPERTIES != $properties);
It's no longer @import "node_modules/dropzone/src/dropzone.scss" BUT @import "/node_modules/dropzone/dist/dropzone.css";
On lesson 38: in Laravel 5.8
In RoleServiceProvider instead of
public function register() { Blade::directive('role',function($role){ return ""; });
1 Blade::directive('endrole',function($role){2 return "<?php endif; ?>";3 });4}
use this
public function boot() { Blade::if('role',function($role){ return auth()->check() && auth()->user()->hasRole($role); }); }
If the Dropzone is not defined , move the script tag of the app.js to bottom of the page before the @yield('scripts') and remove ' defer '
Hello, I would like to handle the uploaded filenames if possible, avoiding spaces, accents and special characters. How could I get this done please ?
Hi, I'm having an issue with the published / unpublished scope.
As a seller, when the file is published, I can unpublish it by unchecking the published box and submitting the form. Bu i can not seem to roll back to a published state when rechecking that box.
Any idea on this issue please ?
OK, got this by changing in edit.blade.php:
<input type="checkbox" name="live" id="live"{{ $gift->live ? ' checked' : '' }} value="{{ old('live') ? old('live') : $gift->live }}">
to
<input type="checkbox" name="live" id="live"{{ $gift->live ? ' checked' : '' }} value="1">
as the 1 value will only get transmitted with the form if it's checked.
If this can spare some time to other people ;-)
This worked for me ...thank you
On lesson 27: I have to add document ready event from jquery to make dropzone work. Because the execution of the script was faster than the availability of the tag "#file" inside the dom.
snippet: $(document).ready(function(){ var drop = new Dropzone('#file', { url: '/' }); });
Alex, how to split payment to mulitple vendors? is this possible with stripe right now??
Check this: srmklive/paypal
Okay, I know this is pretty old, but I am quite confused with the transition since this "Processing and splitting the payment" process is outdated. I am using Nuxt as frontend, trying to wrap my head around https://www.npmjs.com/package/vue-stripe-checkout package, but most confusing part is that do I really need product id for one time payment as well? Huh...? https://stripe.com/docs/payments/checkout/migration#api-products-after