Joomla 1.6 Upload file field in article manager - pdf

I wanted to add pdf file in my articles. I have added a custom form field with type="file" in the article manager by hacking the xml and artical.php file in administrator/component/com_content directory.
But I am not able to save the uploaded files on server. What causes this?
Also I used the field type="Media" but it does not display pdf files?

I had a requirement a while back where with every articles they wanted to be able to attach files for download. The trouble was that the end user had to be able to do this and they were not very tech savvy. I used this Joomla attachment extension and it has worked like a charm. I would recommend it.
In your case I would check the directory where the files are being uploaded, see if it has permissions that would allow files to be uploaded. Can you upload images fine and attach them in an article?
Update
This attachment does not work with Joomla 1.6+, the developers do have a plugin that is in Release Candidate stage that you can use.

Related

How to set and verify file's origin?

Can you guys suggest any method for my below problem?
I am developing an application which requires users to download an excel file, modify some content and upload exactly the same file they just download.
The requirement started from the fact that there is macro inside the excel file (which can be changed often), hence I try to make sure they always download and do works with the latest version. Then have to upload that file again.
My system is a web-based application for your reference.

Where and how can I copy flash-animated html content inside a Lotus Notes database in order to invoke from a document or page?

I know Domino as a web server. In the data folder thereĀ“s an HTML folder which is normally the root of web content. But I want to put files and folders with all the flash stuff inside a Notes database (nsf).
I know I can do this via import through Package Explorer in the Notes Designer client. But where should I copy it into? Into webcontent folder?
I also know documents and pages can act as .html files. But there are also javascripts, .swf, .mp3 and other files.
How can I then invoke the starting point file like index.html?
I appreciate any helpful answer .. :-)
I know I can do this via import through Package Explorer in the Notes
Designer client. But where should I copy it into? Into webcontent
folder?
I would not recommend to put it on Domino server file system, it's very dirty way.
One document with one attachment/video. That would give you overview of all files you have in database plus possibility to add/delete them (require development skills little bit).
You can also upload your resources as Files as a design element, however that would require you design access each time you want to change them.
About invoking. Have a look here: Domino URL Commands
Also check this link: URL commands for opening attachments, image files, and OLE objects
For everything that is not plain html you can use file- resources. Linking them is as simple as write an url that looks like this:
hxxp://yourserver.com/yournsf.nsf/JSLibrary.js?OpenFileResource
You can find all possible URL- commands in your designer help or in this URL cheat sheet

Orbeon upload component active in read mode?

SOLVED - I have an upload component in section of an Orbeon form (in Liferay portal). Users have to upload a document here in the first stage of the workflow.
Later in the workflow, when this section of the form is in read-only mode, the upload button can still be used to upload something. Afterward uploading there is no evidence in the form of any upload (no file name), either of the original upload or the one later committed in read-only mode.
On clicking "Download" the original upload is downloaded, not the file that seemed to be uploaded when in read-only mode.
Is this a known bug, is there anything we can do about this?
Thanks in advance.
Yes, this is a known issue, and it is fixed in Orbeon Forms 4.5.

File upload with user access for Joomla 1.5

We want to make it possible for clients to download and upload files from our website. They must be able to see only the file they uploaded. We would also like to have files for download but select the users allowed to download them. So each client has their own front end where they see what they can download or they can upload their own Files.
My question is:
Is there a component for Joomla 1.5 available?
Our website runs on Joomla! 1.5.
Any help would be appreciated
You can use this componet for the file downloads and uploads via the frontend of the site
http://www.jdownloads.com/
You will then need a file tree that shows the files within that folder, however I'm not quite sure users can only see the file they have uploaded themselves.

Where to save the uploaded files?

I am developing a web application to upload .mp3 files and need to play them. I successfully uploaded the files and saving them in C:/uploads folder. I understand that as it's a web application we need to save them in the Apache web server it self. But I am not sure, where to save them.
Thanks,
Serenity.
You can use content repositories to store uploaded data, I think this is common approach. For instance, take a look at the Apache JackRabbit CR, applying it you won't easy look for uploaded files on hard drive, but you will have web interface, and also some other tools available to connect to repository and show you files there etc.
As alternative to JackRabbit, you can try Alfresco CMS, they both implement JCR, other implementations are listed here (you will them at the bottom of that page).