Plug-in Web Applications > Document
posted on 3:05 PM, July 21, 2008
Manage libraries of documents and other downloadable files.
- PDFs
- spreadsheets
- Word documents
- presentations
- ZIP files or other bundled files
- any other downloadable file
The Document plug-in assumes that everything in a particular library is a downloadable file, and will format the library contents in a way that makes it easy to browse and download files of interest. It includes some details on the type of file and the size, so that users can tell if it is something they want to download at all.
By default, it will try to work with a library called "docs", and offer to create this library for you if it is not found. However, it will show other libraries that you have available in the sidebar, and you can select any of these to work with if you prefer.
To display a library's contents for download, simply place the Documents plug-in into a page, and select the library to display from the choices it gives you.
Private Libraries and Documents
If you have a library containing documents that should not be available to the general public, set the library access to "members only". To prevent non-members from even seeing the list of downloadable documents, place the library plug-in on a "members only" page as well.Large Files
There are limits to the size of file that can be uploaded into the CMS's revision handling system, which is what allows older revisions to be archived. The actual limit varies from system to system, but is typically a few megabytes. That may not seem like much, but remember than on the web you want to keep file sizes as small as possible because some users have slow connections and it is not polite to make them wait a long time for data that could easily have been made smaller.If you decide that it is very important to exceed the file size limit in some cases, you should use the Upload plug-in to force the large file into the CMS. It will bypass the revision-handling system in the CMS, and write the file directly to disk. You can then use the Document plug-in to edit the description of the document. Note that all large files handled in this way are publicly accessible.