S
|
slobbering_dog 9/19/2007 |
I want to enable a field to upload a pdf or doc file. I've been able to successfully set a field to upload images, but not pdf or doc. Is there a trick to this? I've tried to use the file/image "Edit As" field type, with and without allowing it to create thumbnails on the fly, but I cannot seem to figure out how to make it allow uploads of anything but image files (jpg and gif). I see on the View/List pages that I can set the "View as" field type to File or Image, but if I cannot upload the file in the first place, I don't know how this would work. Please help. Thanks, Janet
|
![]() |
Alexey admin 9/20/2007 |
Janet, |
D
|
Dowdy 10/31/2008 |
Does the datatype for the file I am uploading, determine if the file is stored in the database or a file system? Another question is if I am storing a PDF file, can PHPR create a thrumbnail of the first page as I have seen in other websites? |
![]() |
Sergey Kornilov admin 10/31/2008 |
Storage type is determined by the field type. To store files in the database choose binary field, to store as a file choose a text field. |
D
|
Dowdy 10/31/2008 |
Storage type is determined by the field type. To store files in the database choose binary field, to store as a file choose a text field. We don't have an option to create PDF thumbnails.
|
![]() |
Sergey Kornilov admin 11/1/2008 |
After changing the field type in the database you need to synchronize PHPRunner project and rebuild it. |