Initial commit. FileViewer plugin v1.0
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Zarafa Webapp FileViewer Plugin
|
||||
|
||||
This plugin will provide a preview panel for PDF and ODF files based on [ViewerJS].
|
||||
|
||||
### Current Version
|
||||
1.0 (06.2015)
|
||||
|
||||
### Installation
|
||||
This steps are show for debian bases systems. It should be simillar to all other systems.
|
||||
|
||||
Install the plugin to Zartafa Webapp. Therefore copy the whole folder **'fileviewer'** to the Webapp plugin directory:
|
||||
|
||||
```sh
|
||||
$ sudo cp -r fileviewer /usr/share/zarafa-webapp/plugins/
|
||||
```
|
||||
|
||||
Now you have the plugin installed. Restart the webserver (optional) and continue configuring the fileviewer plugin.
|
||||
|
||||
```sh
|
||||
$ sudo service apache2 restart
|
||||
```
|
||||
|
||||
### Configuration
|
||||
The plugin configuration can be found in the **'config.php'** file.
|
||||
> define('PLUGIN_FILEVIEWER_USER_DEFAULT_ENABLE', true);
|
||||
|
||||
This configuration flag will enable the plugin by default for all users. If this is set to false, each user has to enable
|
||||
the plugin by itself in the Webapp settings. (Settings -> Plugins -> Check the fileviewer plugin)
|
||||
|
||||
### License
|
||||
|
||||
AGPL
|
||||
|
||||
|
||||
[ViewerJS]:http://viewerjs.org/
|
||||
Reference in New Issue
Block a user