zikula-modules / Files

File Manager for Zikula
13 stars 2 forks source link

Deprecated

This module has been deprecated as part of Zikula 4 slimming diet.

Files module

Files module 1.0.3 for Zikula 1.3.x

Installing Files

Copying files

  1. Download the repo form github.
  2. Extract files and copy them to path_to_Zikula_root/modules/Files
  3. Copy path_to_Zikula_root/modules/Files/Resources/extras/file.php to path_to_Zikula_root/file.php
  4. If you use Scribite, you can use xinha and tinymce plugins. You must copy files from path_to_Zikula_root/modules/Files/Resources/namePlugin. Read README.md file and use the right scribite version (v4 or v5).
  5. Delete path_to_Zikula_root/modules/Files/Resources folder

Module configuration

  1. Simply install the module and run it.
  2. Default configuration use zikulaDataFolder to store files. Then module creates usersFiles (into zikulaDataFolder) to store users files. There will be one folder for each user (for example zikulaDataFolder/usersFiles/a/admin)
  3. The users folder (usersFiles) is easily changeable from module administration.
  4. You can change the main folder (default value zikulaDataFolder) in config.php
    • You can define $ZConfig['FilesModule']['folderPath'] with an alternative route (the path needs an real and writeable folder)
    • For multisites ($ZConfig['Multisites']['multi'] = 1) you need a more complex configuration. Then you must define two more vars. The path will be $ZConfig['Multisites']['filesRealPath'] . '/' . $ZConfig['Multisites']['siteFilesFolder']
  5. If you use Àgora project, you must define $ZConfig['iwmodules']['agora'] = true to use agora functions
  6. You can use Files plugin in you html editor. Then write Scribite info. You can use version 4.3 or 5.x (or both versions, cloning scribite module)

Scribite plugins

  1. Like other plugins, admin have to go to Administration-Scribite-EditorConfig-Xinha/TinyMCE and check Files plugin
  2. Then, you will see a paper clip button in your editor

Notes

Using Files

For users

For admins


Check version changes