Page 1 of 1

File upload - some information missing

Posted: Sun Feb 27, 2011 10:22 pm
by herseem
Hi,

I've gone through the file object tutorials 27 and 28. However, I don't want to add an uploaded file object to a subfile record, I want to add it to the main screen of a record, as is also mentioned and displayed at the beginning of tutorial 27. I was able to apparently get it to work uploading and storing an object, but I couldn't get the 'display file' button to work. The PHP provided appears to need something extra such as the 'runit' code that I couldn't find in the Wiki, even though it was mentioned in the video.

I tried to check the video database to check the code but it was empty. I tried logging in to the live demo one that supposedly enables you do do all the exercises, and that was empty of objects too.

There seems to be a discontinuity in the information provided that is preventing me from actually displaying an uploaded file to work, and it's a critical factor for a friend's project I'm working on. I'm not a PHP programmer so am not able to work out what should be there. I'd be very grateful if you could fill in the blanks please, or perhaps restore the demo site that is the basis for the video tutorials.

Thanks,

Mike Hersee

Re: File upload - some information missing

Posted: Mon Feb 28, 2011 11:43 pm
by admin
Mike,

I agree that this was incomplete and might have been hard to follow.
I have made some changes to the wiki that should explain things better.

http://wiki.nubuilder.com/tiki-index.ph ... nIt_pCode_

and

http://wiki.nubuilder.com/tiki-index.ph ... uilderDocs

If it doesn't, let me know and I'll try something else.

Steven Copley

Re: File upload - some information missing

Posted: Sun Apr 03, 2011 6:13 pm
by herseem
Have got file upload and display working on subform now too - Thanks.

Mike

Re: File upload - some information missing

Posted: Mon Apr 04, 2011 4:11 am
by admin
Excellent!