source: trunk/plugins/ExtendedFileManager/Readme.txt @ 567

Last change on this file since 567 was 567, checked in by koto, 8 years ago

ExtendedFileManager update:

  • EFM now supports new way of passing configuration variables to backend introduced in changeset:565
  • updated Readme.txt to encourage the new way
  • added German translation (by sven schomacker)
  • added support for editing 'title' attributes for inserted images (new config options 'images_enable_alt' and 'images_enable_title')
File size: 3.8 KB
Line 
1Package : Extended File Manager EFM 1.1.1
2Plugin url : http://www.afrusoft.com/htmlarea
3Version 1.1 created from 1.0 beta by Krzysztof Kotowicz <koto@webworkers.pl>
4
5Overview :
6----------
7
8Extended File Manager is an advanced plugin for HtmlArea 3.0
9
10It works in two different modes.
111). Insert Image Mode and
122). Insert File Link Mode.
13
14In Insert Image Mode, it replaces the basic insert image functionality of HtmlArea with its advanced image manager.
15
16If Insert File Link Mode is enabled, a new icon will be added to the toolbar with advanced file linking capability.
17
18
19
20Complete Features :
21-------------------
22* Easy config.inc file that enables individual options for both modes.
23* Thumnail View
24* List View
25* Nice icons for both views
26* Create Folders
27* Vertical Scrolling
28* Allowed extensions to view or upload.
29* File Uploads
30* Max File upload limit
31* Max Upload Folder size (Including all subfolders and files. A must see option.)
32* Dynamic display of available free space in the Upload Folder
33* Dynamic Thumbnails using Image libraries or browser resize
34* Image Editor (Actually done by Wei...a great addon)
35* Can be used to insert images along with properties.
36* Can be used to insert link to non-image files like pdf or zip.
37* You can specify image margin / padding / background and border colors
38** You may edit Alt/title tags for inserted images
39
40Installation :
41--------------
42
43Installing involves extracting the archive to 'plugins' subdirectory of Xinha
44and selecting the plugin in appropriate xinha_plugins list.
45
46Plugin may be configured via xinha_config.ExtendedFileManager object.
47Look into ImageManager plugin documentation as this plugin uses almost identical
48settings.
49
50The plugin may share the same config array as ImageManager plugin - just specify
51the same storage location like this:
52
53// only snippets of code from initializing file shown below
54
55
56  xinha_plugins = xinha_plugins ? xinha_plugins :
57  [
58   'ContextMenu',
59   'SuperClean',
60   'CharacterMap',
61   'GetHtml',
62   'ExtendedFileManager',
63   /*'ImageManager',*/  // replace image manager with EFM
64   'Linker'
65  ];
66
67...
68
69// pass the configuration to plugins
70if (xinha_config.ExtendedFileManager) {
71            with (xinha_config.ExtendedFileManager)
72        {
73            <?php
74
75            // define backend configuration for the plugin
76            $IMConfig = array();
77            $IMConfig['images_dir'] = '<images dir>';
78            $IMConfig['images_url'] = '<images url>';
79            $IMConfig['thumbnail_prefix'] = 't_';
80            $IMConfig['thumbnail_dir'] = 't';
81            $IMConfig['resized_prefix'] = 'resized_';
82            $IMConfig['resized_dir'] = '';
83            $IMConfig['tmp_prefix'] = '_tmp';
84            $IMConfig['max_filesize_kb_image'] = 2000;
85            // maximum size for uploading files in 'insert image' mode (2000 kB here)
86
87            $IMConfig['max_filesize_kb_link'] = 5000;
88            // maximum size for uploading files in 'insert link' mode (2000 kB here)
89
90            // Maximum upload folder size in Megabytes.
91            // Use 0 to disable limit
92            $IMConfig['max_foldersize_mb'] = 0;
93           
94            $IMConfig['allowed_image_extensions'] = array("jpg","gif","png");
95            $IMConfig['allowed_link_extensions'] = array("jpg","gif","pdf","ip","txt",
96                                                         "psd","png","html","swf",
97                                                         "xml","xls");
98
99            require_once '/path/to/xinha/contrib/php-xinha.php';
100            xinha_pass_to_php_backend($IMConfig);
101           
102            ?>
103        }
104}
105
106=====
107afrusoft@gmail.com - author of EFM 1.0 beta
108koto@webworkers.pl - EFM 1.1 (most of the code taken from Xinha codebase)
Note: See TracBrowser for help on using the repository browser.