[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:
-
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:
-
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:
-
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.
-
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:
-
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.
- The entry upload_path in wikka.config.php] has to match the path for this directory.
-
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.
- 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.
- Insert {{files download="filename" text="descriptive name"}} to create a link to download file "filename".
- Click on the name of a file to download it.
- See Show or manage attached files or Create a download link above for creating download links.
{{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.
- The entry upload_path in the wikka.config.php has to match the path for this directory.
-
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).
- 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.
- Insert {{Files download="filename" text="descriptive name"}} to create a link to download file "filename".
- Click on the name of a file to download it.
- See Show or manage attached files or Create a download link above for creating download links
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:
-
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:
- To upload files you must be an admin.
Additions:
- A directory for the files has to exist.
- The entry upload_path in the wikka.config.php has to match the path for this directory.
- The web server has to be able to write to the upload_path.
- To upload files you must be an admin.
- To delete files you must be an admin.
- If you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround.
- Insert the action {{files}} on a page.
- Look at the list to see the files attached to the current page, their size and the date they have been added.
- Filenames in the list become download links.
- Make sure {{files}} is on the page.
- Click on the Browse... button to search for a file.
- Select a file on your computer (you can only select one) .
- The name should appear in the box right next to add new attachment.
- Click on the "+".
- 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:
- Create one page in which you put the file action. On this page, you should only upload images and no other files.
- Upload an image.
- Copy .htaccess from the /images directory of wikka into uploads/YourPagename.
- Insert {{Files download="filename" text="descriptive name"}} to create a link to download file "filename".
- See also Show or manage attached files above.
- Click on the name of a file to download it.
- See Show or manage attached files or Create a download link above for creating download links
- Make sure {{files}} is on the page.
- Look for the file you want to delete in the list.
- Click on the small "x" before the file.
Deletions:
- a directory for the files has to exist.
- the entry upload_path in the wikka.config.php has to match the path for this directory.
- the web server has to be able to write to the upload_path.
- to upload files or delete attached files you must be an admin.
- if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
- insert the action {{files}} on a page
- look at the list to see the files attached to the current page, their size and the date they have been added.
- filenames in the list become download links
- make sure {{files}} is on the page
- click on the Browse... button to search for a file.
- select a file on your computer (you can only select one) .
- the name should appear in the box right next to add new attachment.
- click on the "+".
- 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:
- create one page in which you put the file action. On this page, you should only upload images and no other files
- upload an image
- copy .htaccess from the /images directory of wikka into uploads/YourPagename
- insert {{Files download="filename" text="descriptive name"}} to create a link to download file "filename".
See also Show or manage attached files above.
- click on the name of a file to download it.
See Show or manage attached files or Create a download link above for creating download links
- make sure {{files}} is on the page
- look for the file you want to delete in the list.
- click on the small "x" before the file.
[317] Edited on
2006-11-19 10:13:39 by
YanB [updated, formatting, cat.]
Additions:
HomePage
- For the development page, take a look at FilesAction.
- For changelog info about the version of the {{files}} action currently included in Wikka, refer to Mod015fFilesAction.
File management in Wikka is supported by adding the {{files}} action in a page.
- if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
- insert the action {{files}} on a page
- make sure {{files}} is on the page
- 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:
- copy .htaccess from the /images directory of wikka into uploads/YourPagename
- insert {{Files download="filename" text="descriptive name"}} to create a link to download file "filename".
- make sure {{files}} is on the page
- click on the small "x" before the file.
produces:
{{files download="freemind_sample1.jpg" text="Freemind sample"}}
produces:
CategoryEN
Deletions:
Wikka Documentation
- For the development page, take a look at FilesAction.
- For changelog info about the version of the {{files}} action currently included in Wikka, refer to Mod015fFilesAction.
File management in Wikka is supported by adding the {{files}} action in a page.
- if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
- insert the action {{files}} on a page
- make sure {{files}} is on the page
- 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:
- copy .htaccess from the /images directory of wikka into uploads/YourPagename
- insert {{Files download="filename" text="descriptive name"}} to create a link to download file "filename".
- make sure {{files}} is on the page
- 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]
Wikka Documentation
Files
This is the documentation of the
files action.
- For the development page, take a look at FilesAction.
- For changelog info about the version of the {{files}} action currently included in Wikka, refer to Mod015fFilesAction.
File management in Wikka is supported by adding the {{files}} action in a page.
Requirements
- a directory for the files has to exist.
- the entry upload_path in the wikka.config.php has to match the path for this directory.
- the web server has to be able to write to the upload_path.
- to upload files or delete attached files you must be an admin.
- if you're having problems with PHP safe mode try the FilesActionSafeModeWorkaround
Show or manage attached files
- insert the action {{files}} on a page
- look at the list to see the files attached to the current page, their size and the date they have been added.
- filenames in the list become download links
Upload a file
You must be an admin to do this!
- make sure {{files}} is on the page
- click on the "Browse..." button to search for a file.
- select a file on your computer (you can only select one) .
- the name should appear in the box right next to add new attachment.
- click on the "+".
- 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:
- create one page in which you put the file action. On this page, you should only upload images and no other files
- upload an image
- 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
- insert {{Files download="filename" text="descriptive name"}} to create a link to download file "filename".
See also Show or manage attached files above.
Download a file
- click on the name of a file to download it.
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!
- make sure {{files}} is on the page
- look for the file you want to delete in the list.
- click on the small "x" before the file.
Examples
{{files}}
produces:
{{files download="freemind_sample1.jpg" text="Freemind sample"}}
produces:
Freemind sample
CategoryDocumentation