More about this Plugin
The Files Storage Provider Global allows the usage of additional paths for storage of external data.
Configuration
Insert up to 10 external paths in
Administration->Providers->FileProviders->Global File Provider.
The first path (Line 0) can be used in the same way as with the built in Local Files Provider, addressed by the markup
{up}file (stored in directory
/upload) or
{up(page)}file (stored in directory
attachments/page).
All paths can use the markup
{<n>}/path/file for addressing where
<n> is the line number starting with
0. The files are retrieved directly from the given path, the directories
/upload and
/attachments are not needed).
Example
| Line | Markup | Global Path (entered in the configuration) |
|---|
| 0 | {0} | F:/Data/WebProjekte/STWpublic |
| 1 | {1} | F:/Data/WebProjekte/ScrewTurnWiki |
| 2 | {2} | F:/Data/WebProjekte/Bildarchiv/Rapid/2004/20040930 Rapid-Sporting Lissabon 0-0/THUMB |
| 3 | {3} | F:/Data/WebProjekte/Demo |
To address the file
test.jpg uploaded via File Management and using this provider can be retrieved by
[{up}/test.jpg] or
[{0}/upload/test.jpg]To address a file in the path of the third line of the configuration use the markup
[{2}/file|Link to a file]
or
[{2}/path/file|Link to file in a subdirectory]To address an image stored in the fourth line use
[image||{3}/test.jpg]See example
Discuss
No Messages for this Page. Be the first!