This article aims to cover the process involved when trying to add a downloadable file to your joomla website. The process is broken down into two simple steps:
1) Upload document to website
2) Create a link to the document
Upload document to website
There are two different methods that you can use when uploading a file to your website.
The simplest approach is to add the file using the Joomla “Media Manager”. You can access this via Site -> Media Manager. To add a file simply click the “Browse” button, locate the file on your local computer, then select “Start Upload”. Any file added via this method will be stored in the “images” folder on your website i.e. www.yourdomain.com/images/yourfile.pdf
Alternatively if you are not happy with your files being stored in the images folder, then you will need to upload the files using an FTP client. One of the most popular FTP clients is called “Filezilla” and can be downloaded for free here: http://filezilla-project.org/download.php
You will then need to obtain the FTP login details of your web developer. Once connected you can upload files to any location within the website, for example if you upload to the root of the site, the file would be found here: www.youdomain.com/yourfile.pdf . This method is preferred if you are likely to promote the URL to customers.
Create a link to the document
Once the file has been uploaded to the server, you can then link to the file from any location. This will most commonly be done from an article within joomla.
To do this, access your article via the “Article Manager”, you can access this via Content -> Article Manager -> Select Article from list.
Using the mouse, click into the WSYWIG editor and enter the text that you would like to use as the link to the file. For example: “click here to access yourfile.pdf”, select the text using your mouse, then click the button that looks like a chain in the options above.
A pop up box will then appear asking for information about the link. In the box where it says “Link URL” you should enter the location of the file, i.e. www.yourdomain.com/images/yourfile.pdf. In the target drop down, select whether you want the link to open in new window or the current one. Then in the title field, add what text you want to appear when the user hovers over the link. The last field “Class” is not important at this stage.
Once you save the article, the link to the file will be live.
If you found this useful you may also be interested to read: Understanding Joomla