Search found 53 matches

Go to advanced search

by Rui Song Chong
Tue Feb 10, 2015 5:26 am
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

This is what I have been trying to do, When the user click upload, a new row should be created in the table, with the input of new information and image. Is my logic of linking the new image to the new row in the table correct? or is there any other better way? https://d2r1vs3d9006ap.cloudfront.net/...
by Rui Song Chong
Tue Feb 10, 2015 5:21 am
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

HI, Thanks for your response, I managed to store the filename in local storage. I also tried the steps you suggested earlier on, link the filename from my local storage to "servce request" on create_service, however the database still doesn't appear the new row. This is what I did. I have ...
by Rui Song Chong
Mon Feb 09, 2015 7:23 pm
Forum: Issues
Topic: Assign image in files collection to a specific row in the database
Replies: 3
Views: 435
 
Jump to post

Assign image in files collection to a specific row in the database

Hi,

As you can see from the image, when the user tap on the upload button, the rows should be created automatically with the file uploaded, what you suggested is how to manually link the images right? which is not what I want.

by Rui Song Chong
Mon Feb 09, 2015 7:16 pm
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

My question now is that how can I let the user to upload information which will create a new row including an image into the database. https://d2r1vs3d9006ap.cloudfront.net/s3_images/1154058/2_inline.png?1423509075 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1154059/1_inline.PNG?1423509086 For u...
by Rui Song Chong
Mon Feb 09, 2015 6:58 pm
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

Hi,

For now, can I Just know how can I get the file name I uploaded?

by Rui Song Chong
Mon Feb 09, 2015 6:57 pm
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

Hi, Tried your code and nothing appear. However, I tried this code instead and the file name is return as undefined. "alert("Your file was successfully uploaded, file name: "+data.filename);" https://d2r1vs3d9006ap.cloudfront.net/s3_images/1154052/1_inline.PNG?1423508239 https://...
by Rui Song Chong
Mon Feb 09, 2015 7:20 am
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

Hi,

How can I get the filename of the image I uploaded on the success event handler?
What should I put on the response tab of service_upload? Should I put it like this?

Image

by Rui Song Chong
Sun Feb 08, 2015 6:24 am
Forum: Issues
Topic: Assign image in files collection to a specific row in the database
Replies: 3
Views: 435
 
Jump to post

Assign image in files collection to a specific row in the database

Hi, I'm able to use my app to upload image, and create rows in database, however the image uploaded is not link to the row I created. https://d2r1vs3d9006ap.cloudfront.net/s3_images/1153213/1_inline.PNG?1423376460 RIght now, I have a create_service and a upload service which would be invoked when I ...
by Rui Song Chong
Fri Feb 06, 2015 6:49 am
Forum: Issues
Topic: Format "date" data type from database
Replies: 14
Views: 1730
 
Jump to post

Format "date" data type from database

Hi, Thank you so much, I manage to display what I want. For those who need it, this is a way to achieve it: "var date = value.split(" "); var date1 = date[0]; var date_parts = date1.split("-"); return date_parts[2]+"/"+date_parts[1]+"/"+date_parts[0];&quo...
by Rui Song Chong
Fri Feb 06, 2015 5:54 am
Forum: Issues
Topic: Upload file, without log in
Replies: 16
Views: 1748
 
Jump to post

Upload file, without log in

Hi, I don't quite understand, do I have to create a pointer in the table to link it to the user collection first? This is what I tried, right now I have a create_service and a upload service which would be invoked when I click the upload button, on the before event on create_servce, I map the user_i...

Go to advanced search