Content Markup: Files
Adding the following to a page's content will place a link to a file to download in the page.
[file="1"]
The ID number of the file you want to use can be found in the File Manager. (Click 'files' button in the Admin Bar).
When the page is viewed this will be replaced with an icon representing the type of file. Clicking on the icon starts the file downloading.
If you want to protect a file so that only customers can download it you can use the secure file markup.
[securefile="1"]
When a user tries to download that file they'll be asked for their email address and password before they're given the file. This is the same as what happens if you choose to protect a part of the site. Once the users given a correct username and password they'll be given access to the secured areas that they're allowed into1.
file Captions
Each file can have a caption (which is set in the File Manager) but occasionally you may want to use a different description. In which case:
[file="1" caption="use this caption instead"]
The icons for each of the file types can be changed if you have a designer that knows a little CSS.
- They user only have to enter their username and password the first time they go to a protected file/page. Quitting the browser is necessary to completely log out however other methods of security are being investigated so if this bothers you drop us a line and we'll let you know when we've got the perfect solution working of course we will be updating this page too.
