While there is a commercial file manager plugin for TinyMCE called MCImageManager, WebYep also supports a free alternative. This article will show you how to integrate 'Filemanager' from Core Five Labs.
This document assumes that you are fairly familiar with setting up WebYep and configuring web servers like Apache. It provides step by step instructions, without explaining everything in detail. If you don't know what permissions are, or have no idea what a "document root" might be, or where it is located, you might want to leave the installation/configuration to an experienced administrator.
Installation instructions for TinyMCE can be found in the WebYep documentation.
Important: since TinyMCE and Filemanager are third-party products, we can't provide support for them!
/webyep-system/program/opt/
folder./webyep-system/data
and create a subfolder named "userfiles" there. This folder should have the permissions 755. If this doesn't work on your server, try 775 or 777./webyep-system/program/opt/filemanager/connectors/
delete every subfolder EXCEPT php
.
/webyep-system/program/opt/filemanager/connectors/php/filemanager.config.php
session_start();
' (without the quotes) like so:
<?php session_start();
function auth() {
". Replace this up to and including the next "}" with the following:
function auth() { return isset($_SESSION['WebYepIsAuthorized']) && $_SESSION['WebYepIsAuthorized']; }
$config['culture'] = 'en';
" and change the "en" accordingly.
You'll find all available languages in the folder /webyep-system/program/opt/filemanager/scripts/languages/
.
Every file in there represents another language, so if you want your filemanager to speak french, write:
$config['culture'] = 'fr';
$config['date'] = 'd.M.Y H:i';This will display a date like "29.2.2000 13:57". For a detailed explanation of the available format options, please refer to http://www.php.net/date
/webyep-system/program/opt/filemanager/scripts
you will find a file named filemanager.config.js.default
.
Rename this file to filemanager.config.js
(i.e. remove the trailing .default)/webyep-system/program/opt/filemanager/scripts/filemanager.config.js
var culture = 'en';
" and change the "en" accordingly.
You'll find all available languages in the folder /webyep-system/program/opt/filemanager/scripts/languages/
.
Every file in there represents another language, so if you want your filemanager to speak french, write:
var culture = 'fr';
var fileRoot = '/' + am + 'userfiles/';
" and replace it by the following:
var fileRoot = '/webyep-system/data/userfiles/';
/webyep-system/program/opt/filemanager/index.html
.<head>
section insert the following line:
… <script type="text/javascript" src="../tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script> </head> <body> …
To check whether the installation was successful, do the following: