close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Video/Document Uploading/Viewing

Thread began 11/02/2012 6:42 am by salaroche | Last modified 11/06/2012 12:32 pm by Jason Byrnes | 2988 views | 13 replies |

salaroche

Video/Document Uploading/Viewing

Hi:

One of my customers would like to grant users the capability to upload videos and documents for later viewing/reading. I'm assuming WA's Upload Wizard only uploads photos. Is there any WA Extension that enables DW to do that?

Thank you for your attention.

Sign in to reply to this post

Jason ByrnesWebAssist

The File Upload behavior can be used to upload any file type. if you have Data Bridge, you can access the file upload behavior at WebAssist -> File Manipulation -> Upload File

Sign in to reply to this post

salaroche

Jason:

I don't know about Data Bridge, but I can access Webassist > File Manipulation > Upload in DW as it is. I get the same (or similar) window as for Photo Uploading. I'll try uploading something and see what happens.

Thank you for your attention

Sign in to reply to this post

salaroche

Jason:

It uploads the document file OK, but it doesn't give me any options for viewing it or displaying it afterward. No link to access it. How could users view that file later?

Thank you for your attention

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to store the uploaded file name into a database to retrieve the file name on the download page.

on the download page, you can either use a link or the File Manipulation -> Download file behavior, and retrieve the file name from the database using a recordset.


On the Digital File Pro support page, see the tutorial for "How to apply Digital File Pro to DataAssist Insert and Update pages" this will walk through storing the file name, and showing the file on the results page if it is an image, the concept is similar for other files, except you use a link instead of an image tag:
digital-file-pro/

Sign in to reply to this post

salaroche

Jason:

Understood. I'll play with this thing for a while.

Many thanks for your attention.

Sign in to reply to this post

salaroche

Jason:

DW is inserting the uploaded files in the appropriate folder and it's placing the corresponding Server File Name in the designated Record field, but the instructions you referred me to don't explain how to make the link to show the file in the display page.

Creating a link to the file folder is no problem, but how do I make DW display the file whose Server File Name is stored in the specific record field ?

Could you please elaborate a bit on that?

Thank you for your attention.

Sign in to reply to this post

Jason ByrnesWebAssist

  but the instructions you referred me to don't explain how to make the link to show the file in the display page.  



it is covered on page 5 of the PDF in the section titled "Displaying your upload images on DataAssist pages"

Sign in to reply to this post

salaroche

Jason:

Yes, I read the section you quoted. But what still isn't clear to me is the part that says "to upload files, simply follow these steps, but instead of creating an image, simply create a link (a href=””) tag".

I do: Insert > Image > Data Sources, and then I select the appropriate field from the Record Set. I have tried inserting a href= at the beginning of the URL field, but it doesn't work. It is easy to create a link that opens the file folder and displays the links to its contents, but it doesn't open the file. It seems that my problem is very basic: how do I create a link that will use the stored Server File Name to look for the corresponding file in the folder?

I have no difficulty displaying Thumbs and Images, but the instruction "simply create a link (a href=””) tag" somehow isn't clear to me. Or, better said, I just don't know how to create the link in question.

Your attention to this matter will be highly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

a link uses an anchor tag with an href attribute:
<a href="page.php>Go to the page</a>


the documentation is saying that instead of using an image tag with an src attribute:
<img src="image.jpg />

if you are uploading other file types you should use the a tag method to create a link instead of using an image tag.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...