xoops forums

alain01

Quite a regular
Posted on: 2013/6/12 13:51
alain01
alain01 (Show more)
Quite a regular
Posts: 395
Since: 2003/6/20
#1

TinyMCE v4 pour XOOPS : Version to test

TinyMCE v4 pour XOOPS

Date : 12/06/2013
Version : 0.80 => Be carreful , version in dev.
Auteur : alain01


!!! Be careful!
This version should not be installed on a production site !!!


Version : 0.80 => Be careful , version in dev.

Done :
* Included TinyMCE v4 in XOOPS (http://www.tinymce.com/index.php)
* Added de FileManager Free for TinyMCEv4 (https://github.com/2b3ez/FileManager4TinyMCE)
**If member of admin group, you could :
- Delete files
- Delete directory
- Add directory
- Add files (drad'n drop)
* Added 2 gabarits, availables
* Included the xoops_quote plugin
* Included xoops_code plugin

To do :
- Include xoops_emoticons plugin
- Include xoops_imagemanager plugin
- Move xoops plugins to another directory, external_plugin
- Automtic parameter for path in the config.php file, for the filemanager plugin
- Include 2 levels for TMCEV4 (light and full) in admin option, dependings xoops groups
- ...

Download here


Installation :
1) Copy all under /htdocs to your root site
2) Update system module
3) Use TinyMCE v4 pour XOOPS

4) For blocs, comments and modules :
- Go to Administration / Preférences / Paramètres du système,
- Partie "Paramètres de l'éditeur de texte"
- Choose in the list : "Tinymce4"

4a) For modules, update modules which use this editor

alain01

Quite a regular
Posted on: 2013/6/13 9:51
alain01
alain01 (Show more)
Quite a regular
Posts: 395
Since: 2003/6/20
#2

Re: TinyMCE v4 pour XOOPS : Version to test

Quote:
To do :
- Automtic parameter for path in the config.php file, for the filemanager plugin


If you use xoops from "d:\wamp\www" all is ok.

if you use xoops from "d:\wamp\www\mytestsite1" you should modify the file like that :

$upload_dir "/uploads/tinymce4/media/"// path from base_url to upload base dir
$current_path "../../../../../../../../uploads/tinymce4/media/"// relative path from filemanager folder to dir for upload file


to

$upload_dir "/mytestsite1/uploads/tinymce4/media/"// path from base_url to upload base dir
$current_path "../../../../../../../../../uploads/tinymce4/media/"// relative path from filemanager folder to dir for upload file


Added "/mytestsite1" to $upload_dir
Added 1 "../" to $current_path

Tarik

Not too shy to talk
Posted on: 2013/7/21 10:53
Tarik
Tarik (Show more)
Not too shy to talk
Posts: 170
Since: 2010/2/3 1
#3

Re: TinyMCE v4 pour XOOPS : Version to test

is this version still in alpha state? and if so what are the repercussions in case of use?

alain01

Quite a regular
Posted on: 2013/7/29 21:37
alain01
alain01 (Show more)
Quite a regular
Posts: 395
Since: 2003/6/20
#4

Re: TinyMCE v4 pour XOOPS : Version to test

Hi,
i'm just come back from holidays...

Yes, still test version,
there are lot of some little things to do...

... but, it runs.

If any trouble, you can return to config to choose tinyeditor (v3).
No influence on existent news, or contents.