Wikka Documentation : AttachmentInfo

HomePage :: Index :: RecentChanges :: Search :: Login/Register
[1308] Latest edit on 2008-11-01 23:23:06 by DarTar [Removed HomePage link]


Deletions:
HomePage


[940] Edited on 2008-03-07 03:27:00 by DarTar [minor (formatting)]


Additions:

  1. since 1.1.7
    You can use the INTRANET_MODE option to allow write access for non-admin users.
    until 1.1.6.4
    To upload files you must be an admin.

Deletions:

  1. since 1.1.7
    You can use the INTRANET_MODE option to allow write access for non-admin users.
    until 1.1.6.4
    To upload files you must be an admin.



[939] Edited on 2008-03-04 14:43:54 by BrianKoontz [minor edits for consistency]


Additions:

  1. since 1.1.7
    You can use the INTRANET_MODE option to allow write access for non-admin users.
    until 1.1.6.4
    To upload files you must be an admin.
  2. since 1.1.7
    Admins can set the INTRANET_MODE option in files/files.php to allow uploads by non-admin users.
    until 1.1.6.4
    You must be an admin to upload files!

Deletions:

  1. until 1.1.6.4
    to upload files you must be an admin
    since 1.1.7
    you can use the INTRANET_MODE option to allow write access for non-admin users.
since 1.1.7

Admins can set the INTRANET_MODE option in files/files.php to allow uploads by non-admin users.
until 1.1.6.4



[937] Edited on 2008-03-04 03:06:08 by DarTar [minor edits for layout]


Additions:
This is the documentation of the files action.
 

  1. The entry upload_path in wikka.config.php] has to match the path for this directory.
  2. until 1.1.6.4
    to upload files you must be an admin
    since 1.1.7
    you can use the INTRANET_MODE option to allow write access for non-admin users.
  3. If you're having problems with PHP safe mode try this solution.
Admins can set the INTRANET_MODE option in files/files.php to allow uploads by non-admin users.
If you choose to use a relative URL as the argument to the url parameter (for instance, url="uploads/ImagePage/myImages.jpg"), the image will not display. There is a solution for that:
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 than images on this page.
{{files}}
{{files download="freemind_sample1.jpg" text="Freemind sample"}}

Deletions:
This is the documentation of the files action.
  • For changelog info about the version of the {{files}} action currently included in Wikka, refer to Mod015fFilesAction.
 

  1. The entry upload_path in the wikka.config.php has to match the path for this directory.
  2. until 1.1.6.4
    To upload files you must be an admin (
    since 1.1.7
    you can use the INTRANET_MODE option to allow write access for non-admin users).
  3. If you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround.
Admins can set the INTRANET_MODE option in files/files.php to allow uploads by non-admin users.
If you choose to use a relative URL as the argument to the url parameter (for instance, url="uploads/ImagePage/myImages.jpg"), the image will not display. There is a solution for that:
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 than images on this page.
{{files}}
produces:
{{files download="freemind_sample1.jpg" text="Freemind sample"}}
produces:



[936] Edited on 2008-03-03 23:30:34 by BrianKoontz [include version differences]


Additions:

  1. until 1.1.6.4
    To upload files you must be an admin (
    since 1.1.7
    you can use the INTRANET_MODE option to allow write access for non-admin users).
since 1.1.7

Admins can set the INTRANET_MODE option in files/files.php to allow uploads by non-admin users.
until 1.1.6.4

Deletions:

  1. To upload files you must be an admin.



[935] Edited on 2008-03-03 23:25:25 by BrianKoontz [Minor edits]


Additions:

  1. A directory for the files has to exist.
  2. The entry upload_path in the wikka.config.php has to match the path for this directory.
  3. The web server has to be able to write to the upload_path.
  4. To upload files you must be an admin.
  5. To delete files you must be an admin.
  6. If you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround.
  7. Insert the action {{files}} on a page.
  8. Look at the list to see the files attached to the current page, their size and the date they have been added.
  9. Filenames in the list become download links.
  10. Make sure {{files}} is on the page.
  11. Click on the Browse... button to search for a file.
  12. Select a file on your computer (you can only select one) .
  13. The name should appear in the box right next to add new attachment.
  14. Click on the "+".
  15. If you can see the file in the list, your upload was successful.
By copying an image link as displayed in the attachment box after uploading a file, you can use this link directly in the url parameter of the {{image}} action, regardless of whether or not mod_rewrite is in use.
If you choose to use a relative URL as the argument to the url parameter (for instance, url="uploads/ImagePage/myImages.jpg"), the image will not display. 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.
  2. Upload an image.
  3. Copy .htaccess from the /images directory of wikka into uploads/YourPagename.
  1. Make sure {{files}} is on the page.
  2. Look for the file you want to delete in the list.
  3. Click on the small "x" before the file.

Deletions:

  1. a directory for the files has to exist.
  2. the entry upload_path in the wikka.config.php has to match the path for this directory.
  3. the web server has to be able to write to the upload_path.
  4. to upload files or delete attached files you must be an admin.
  5. if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
  6. insert the action {{files}} on a page
  7. look at the list to see the files attached to the current page, their size and the date they have been added.
  8. filenames in the list become download links
  9. make sure {{files}} is on the page
  10. click on the Browse... button to search for a file.
  11. select a file on your computer (you can only select one) .
  12. the name should appear in the box right next to add new attachment.
  13. click on the "+".
  14. if you can see the file in the list, your upload was successful.
If you upload an image file with the files action (see above on how to do that) and you have mod_rewrite enabled, you won't see the image when you link to it directly or with the {{images}} action. 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
  2. upload an image
  3. copy .htaccess from the /images directory of wikka into uploads/YourPagename
See also Show or manage attached files above.
See Show or manage attached files or Create a download link above for creating download links
  1. make sure {{files}} is on the page
  2. look for the file you want to delete in the list.
  3. click on the small "x" before the file.



[317] Edited on 2006-11-19 10:13:39 by YanB [updated, formatting, cat.]


Additions:
HomePage
File management in Wikka is supported by adding the {{files}} action in a page.
  1. if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
  2. insert the action {{files}} on a page
  3. make sure {{files}} is on the page
  4. click on the Browse... button to search for a file.
If you upload an image file with the files action (see above on how to do that) and you have mod_rewrite enabled, you won't see the image when you link to it directly or with the {{images}} action. There is a solution for that:
  1. copy .htaccess from the /images directory of wikka into uploads/YourPagename
  1. make sure {{files}} is on the page
  2. click on the small "x" before the file.
{{files}}
produces:
{{files download="freemind_sample1.jpg" text="Freemind sample"}}
produces:
CategoryEN

Deletions:
Wikka Documentation
File management in Wikka is supported by adding the {{files}} action in a page.
  1. if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
  2. insert the action {{files}} on a page
  3. make sure {{files}} is on the page
  4. click on the "Browse..." button to search for a file.
If you upload an image file with the files action (see above on how to do that) and you have mod_rewrite enabled, you won't see the image when you link to it directly or with the {{images}} action. There is a solution for that:
  1. copy .htaccess from the /images directory of wikka into uploads/YourPagename
  1. make sure {{files}} is on the page
  2. click on the small "x" before the file.
{{files}}
produces:
{{files download="freemind_sample1.jpg" text="Freemind sample"}}
produces:
CategoryDocumentation



[150] The oldest known version of this page was created on 2005-11-29 00:59:36 by CyneBeald [Added link to FilesActionSafeModeWorkaround]

History of recent changes for AttachmentInfo
Wikka Documentation

Files


This is the documentation of the files action.
 


File management in Wikka is supported by adding the {{files}} action in a page.

Requirements

  1. a directory for the files has to exist.
  2. the entry upload_path in the wikka.config.php has to match the path for this directory.
  3. the web server has to be able to write to the upload_path.
  4. to upload files or delete attached files you must be an admin.
  5. if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround

Show or manage attached files

  1. insert the action {{files}} on a page
  2. look at the list to see the files attached to the current page, their size and the date they have been added.
  3. filenames in the list become download links

Upload a file

You must be an admin to do this!
  1. make sure {{files}} is on the page
  2. click on the "Browse..." button to search for a file.
  3. select a file on your computer (you can only select one) .
  4. the name should appear in the box right next to add new attachment.
  5. click on the "+".
  6. if you can see the file in the list, your upload was successful.

Upload and use images (with mod_rewrite enabled)
If you upload an image file with the files action (see above on how to do that) and you have mod_rewrite enabled, you won't see the image when you link to it directly or with the {{images}} action. 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
  2. upload an image
  3. 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 than images on this page.

Create a download link

See also Show or manage attached files above.

Download a file

See Show or manage attached files or Create a download link above for creating download links

Delete a file

You must be an admin to do this!
  1. make sure {{files}} is on the page
  2. look for the file you want to delete in the list.
  3. click on the small "x" before the file.

Examples


{{files}}

produces:



{{files download="freemind_sample1.jpg" text="Freemind sample"}}

produces:

Freemind sample


CategoryDocumentation
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1961 seconds