|
Cookbook /
UploadsMarkupSummary: Providing an "Uploads:" markup similar to "Attach:", but with a storage-oriented way of referencing
Version: 1.1-beta2 (2007-12-19)
Prerequisites:
Status: Freshly released, awaiting comments
Maintainer: ThomasP
Categories: Uploads
Motivation
Releasessee below InstallationInclude as usual in your local/config.php by
include_once("cookbook/UploadsMarkup.php");
UsageSensible arguments to "Uploads:" look like: Uploads:myfile.txt Uploads:./myfile.txt Uploads:../MyOtherPage/myfile.txt Uploads:../../MyOtherGroup/MyOtherPage/myfile.txt Uploads:/MyOtherGroup/MyOtherPage/myfile.txt a.s.o Here absolute paths are interpreted relative to the upload root dir (usually There is no restriction on how deep or where exactly the file is located in the directory tree, only references trying to reach outside the overall upload dir are prevented. Notes
Release Notes
See AlsoContributorsComments(*) The referencing of uploaded files with the In the
User notes?: If you use, used or reviewed this recipe, you can add your name. The following format is recognized:
* (+) Optional positive comment. Name, date * (-) Optional negative comment. Name, date These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |