10/27/2022 0 Comments Dropzone classifieds![]() classifieds the first day I looked, and I just went ahead and bought it. Well, I think there would be too much code anycodings_laravel to post everything here but I will just tell anycodings_laravel the need - I must have advert ID BEFORE anycodings_laravel upload to use it for advert_id column in anycodings_laravel media table. The friendly Professionals for all instructional ratings: SkydiveRatings - Buy and sell skydiving gear through the largest and most active skydiving. from knowing nothing about skydiving to being a regular at the drop zone. $upload_success = Input::file('file')->move($destinationPath, $filename) ![]() $extension =$file->getClientOriginalExtension() $destinationPath = public_path().'/uploads/'.Sentry::getUser()->username.'/' Here is the portion that manages upload in anycodings_laravel MediaController: public function uploadImages() Here is my code for managing dropzone: $('.dropzone-stuff').dropzone(", #Dropzone classifieds how toI don't anycodings_laravel want to split form on two pages but have no anycodings_laravel idea how to manipulate user to do what I anycodings_laravel need. I have anycodings_laravel made two models with two tables in db one anycodings_laravel for adverts another for pics, relations are anycodings_laravel set properly media table has foreign key anycodings_laravel advert_id Dropzonejs used in form but URL anycodings_laravel for it pointing to function from anycodings_laravel MediaController the addition of adverts is anycodings_laravel managed by AdvertController Now the issue is anycodings_laravel in these two separate working places when I anycodings_laravel upload images I don't know advert_id value, anycodings_laravel but I cannot figure how to make users save anycodings_laravel advert first and THEN upload images. ![]() I have a laravel project which is anycodings_laravel classifieds site and every advert should anycodings_laravel have a few photos attached to it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |