Page 1 of 1

File Upload and Download PDF

PostPosted: Sat Feb 03, 2018 10:42 am
by tovidiu
how to create a upload button to store a pdf file and a button to download it.
I have a table to which I have to attach a pdf file to each row.
thank you

Re: File Upload and Download PDF

PostPosted: Sat Feb 03, 2018 3:34 pm
by toms
tovidiu,

Check out how it's done here: "Home ► (Stored) Files". This should help you get started.

To get access to the code of the form, run this query in your database:
Code: Select all
UPDATE `zzzzsys_setup` SET `set_denied` = '0';

Re: File Upload and Download PDF

PostPosted: Sat Feb 03, 2018 4:40 pm
by admin
tovidiu,

I have made a change that will allow you to save and view PDFs in Files.

You will need to get the latest from Github and run Update.

To see how you can make it work elsewhere, you can to as toms suggested.

Let us know how you go with it.

Steven

Re: File Upload and Download PDF

PostPosted: Sat Feb 17, 2018 6:47 am
by tovidiu
Before deciding how to proceed I want to know how to create a button to print the file or download it.
thank you
Ovidiu

Re: File Upload and Download PDF

PostPosted: Sat Feb 17, 2018 7:44 am
by admin
Ovidiu,

If you want to print a PDF, simply right click on it.

print_pdf2.png
print_pdf2.png (10.29 KiB) Viewed 889 times


If you want to create a Report with an image in it...

image_report2.PNG
image_report2.PNG (31.25 KiB) Viewed 889 times


http://wiki.nubuilder.net/nubuilderforte/index.php/Report_Designer#Object_Properties



Steven