Revision [7232]

This is an old revision of AttachmentInfo made by NilsLindenberg on 2005-04-13 17:13:18.

 

WikkaDocumentation Wikka Documentation

Files



This is the documentation of how to manage files with wikka .
  • For the development page, take a look at FilesAction.
  • For a info about the version of the {{files}} action currently included in Wikka, look at Mod015fFilesAction.
 


You can manage files attached to wikka by inserting the action {{files}} on a page.

Requirements

  1. a directory for the files has to exist.
  1. the entry upload_path in the wikka.config.php has to have to same name.
  1. the web server has to be able to write to the upload_path.
  1. you must be an admin, to upload files

Upload a file

  1. click on the "Browse..." button to search for a file.
  1. select a file on your computer (you can only select one) .
  1. the name shopuld appear in the box right next to add new attachment.
  1. click on the "+".
  1. if you can see the file in the list, your upload was sucessfull.

Upload and use images (with enabled mod_rewrite)
If you upload an imagefile with the files-action (see above on how to do that) and you have mod_rewrite enabled, you won't see the file. There is a solution for that:
  1. create one page in which you put the file-action. On this page, you should only upload images and no other files
  1. upload an image
  1. copy .htaccess from the /images directory of wikka into uploads/YourPagename

Since the files (images) in this directory will be accessible now, i.e. you aren't redirected to wikka, it is a bad idea to upload anything else then files on this page.

Show files

  1. look at the list to see the files attached to wikka, their size and the date they have been added.

Download a file

or

Delete a file

  1. look for the file you want to delete in the list.
  1. click on the small "x" before the file.

Example


Please make sure that the server has write access to a folder named uploads.




CategoryDocumentation
There are 35 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki