I just started using CB, and think it's great. Yesterday I signed up as a Professional, and began using the CB AJAX File Field plugin for a site I'm designing. I want users to be able to upload files as part of their profile, and for other users to be able to view those files.
I have been able to set up a test field to allow for a file upload, which works great. I can also successfully change that file when updating that user's profile. But, when I log on as another user, and attempt to view the file (by clicking on the file's link), the file automatically downloads to my pc. I don't want this to happen. I want another user to be able to view the file instead of download it. I want to allow for a multitude of file types, from images, pdf docs to MS Office files.
I tried various configurations within the Field Manager for this item, but can't seem to get this to happen. I would appreciate any advice on how I can implement this feature.
It always sends the file as an attachment header. It's meant to provide upload and download, it was never developed to be a file viewer and not all filetypes can be viewed; typically only PDF, TXT, and images can be, but regardless it does not allow viewing as it's designed to download. You can change this by editing the plugin and changing how it sends the header (please note I can not help you with this as we do not support edits).
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.