Miscellaneous

How can I post .pdf documents and other files?

Scenario:
"I want to include .pdf files and other documents in my blog posts. What's the easiest way to do this?"

Solution:
You can post any sort of files you like, in the same way you would post images in your blog items.

Original forum thread (thanks, cyblot!):
http://forum.nucleuscms.org/viewtopic.php?t=13678

Method:

  • Click on the little 'Insert media' icon in the 'Add Item' screen:
    Click on the icon indicated in the red box.
  • Click on the 'Upload new file' button to add your new file. In this example, we are going to upload a .pdf file, but this method will work with any type of file you like:
    Click on the button indicated in the red box.
  • You can use the 'Browse' button to locate the file you want to upload or your hard drive or type the path and filename directly into the text field. When you've selected your file, click 'Upload':
    Click on 'Browse' to find your file, then 'Upload'.
  • If you run into a "filetype not allowed" error message, check that you have set your allowed upload file types correctly:
    File type not allowed error
    After you fix your file type upload settings, upload your file again.
  • When your file has finished uploading, select it from your list of uploaded files:
    Select the file you want to upload from the list of uploaded files
  • Type some text you want to be in the link to your uploaded file:
    Enter the text you want displayed as your link to the uploaded file.
  • You should now have a blog item that looks like this:
    What your blog item should now look like.
  • Click on 'Add Item'. Your visitors can now download your file through the link in your new blog item:
    Your posted item with the link to your uploaded file.
section: Miscellaneous | submitted by Leng on 2006.Oct.15 | 2996 views

item rate
Total votes: 13 - Rating: 8.92

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10