xoops forums

alain01

Quite a regular
Posted on: 2014/3/28 16:22
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#1

TinyMCE4XOOPS 2.0 available

Hi,

i' ve just update TinyMCE4XOOPS in V. 2.0 (2014/03/28)

Changelog :

Changes in TinyMCE4XOOPS 2.0 (2014/03/28)
- Updated TinyMCE V4.0.11 to V4.0.20
- Updated Responsivefilemanager 9.3.0 to 9.4.0
- Add index.html files in all directories
- Bugfixes : path in XOOPSQuote, XOOPSCode, and QRcode
- Add plugin Codemirror (thanks to andrey3761)
- Add many languages
- blue colorisation for XOOPSQuote, XOOPSCode and ExtGallery


Changes in TinyMCE4XOOPS 1.14 (2013/12/11)
- Updated TinyMCE V4.0.10 to V4.0.11
- Updated Responsivefilemanager 9.2.0 to 9.3.0
- Modify the toolbars (moved right the format and paragraph button)
- Bug $chemin_array['path'] in tinymce.php and /external_plugins/filemanager/config/config.php
- Bug session in /external_plugins/filemanager/config/config.php


To Do :
- Add class name to images
- Add XOOPS Imagesmanager
- Add XOOPS emoticon

Installation :
1 - copy both directories "class" + "uploads" to the root path web of XOOPS.
2 - Update the system module
3 - Go to "control panel" / "Preferences" / "System Module Settings"
4 - Modify the "Editor Settings" for "blocks" / "comments" / "all modules" as you want
5 - For somes modules, then go to the preferences option and choose the editor

If your web site is not in the root path (like http://myxoops/mywebsite.com), please modify 2 files :

- (...)/uploads/filemanager/templates/liste-templates.js (url lines)
- (...)/uploads/filemanager/templates/template-video/video.html (src lines)

Enjoy it !!!

https://github.com/alain01/TinyMCE4forXOOPS


Ok on new XOOPS 2.5.6
Ok on new XOOPS 2.5.7Beta1
Ok on XOOPS 2.5.6 yet installed
OK on XOOPS 2.5.7Beta1 yet installed

Download : ICI

alain01

Quite a regular
Posted on: 2014/3/31 7:33
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#2

Re: TinyMCE4XOOPS 2.0 available

How is the testing going? Any feedback? Any bugs?

alain01

Quite a regular
Posted on: 2014/4/2 14:29
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#3

Re: TinyMCE4XOOPS 2.0 available

Quote:
alain01 wrote:

To Do :
- Add class name to images

I 've discover a new option for the image plugin :
"image_class_list"
http://www.tinymce.com/wiki.php/Configuration:image_class_list

I will test this
(special dedicace to MACTEP)

PS : hooo, u gave me the link... in the other subject.

alain01

Quite a regular
Posted on: 2014/4/2 14:41
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#4

Re: TinyMCE4XOOPS 2.0 available

Works !!!

Example here

goffy

Quite a regular
Posted on: 2014/5/9 14:14
goffy
goffy (Show more)
Quite a regular
Posts: 377
Since: 2010/12/27
#5

Re: TinyMCE4XOOPS 2.0 available

hi alain01

great job, but two remarks

first remark:
some of the functions (xoops code,...) are only available with french language
please add again the other language files

second remark:
I tried to change to german language and got a blank editor
the reason was, that there is no german language file in external plugin codemirror
I fixed the problem, but maybe not everybody can do this

so maybe you can add to descrition of installation following:
if you change the language to another language than english (en) or french (fr), e.g. to german (de), than you have to do following:
1) create language file "german.php" in \tinymce4\language\ (the file name must be the same as language in xoops settings)
in this file you must define the language code
Quote:
define("_XOOPS_EDITOR_TINYMCE4_LANGUAGE","de");

this language code must be the same as the name of the language files himself, e.g. "de" -> de.js
2) check, whether your language files are existing:
a) \tinymce4\tinymce\js\tinymce\langs\de.js
b) \tinymce4\external_plugins\codemirror\langs\de.js
c) \tinymce4\external_plugins\youtube\langs\de.js

I will continue testing, because tinymce in the current version is really great.

Mamba

Moderator
Posted on: 2014/5/9 21:05
Mamba
Mamba (Show more)
Moderator
Posts: 10798
Since: 2004/4/23
#6

Re: TinyMCE4XOOPS 2.0 available

Quote:
I will continue testing, because tinymce in the current version is really great.

I like the teamwork happening here! Goffy, thank you for the testing and fixes!!! And of course, thanks to Alain for the conversion in the first place!!!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

alain01

Quite a regular
Posted on: 2014/5/9 22:09
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#7

Re: TinyMCE4XOOPS 2.0 available

Goffy, could you comit this in https://github.com/alain01/TinyMCE4forXOOPS fork ?

I work on the tinymce v4.0.26 + responsivefile manager 9.4.1

goffy

Quite a regular
Posted on: 2014/5/11 9:12
goffy
goffy (Show more)
Quite a regular
Posts: 377
Since: 2010/12/27
#8

Re: TinyMCE4XOOPS 2.0 available

hi alain01

It is the first time I use github.
I tried to edit readme.txt and added the 2 german language files.

Did it work correct?

alain01

Quite a regular
Posted on: 2014/5/11 13:56
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#9

Re: TinyMCE4XOOPS 2.0 available

No, goffy, i dont see anything.

alain01

Quite a regular
Posted on: 2014/5/12 12:24
alain01
alain01 (Show more)
Quite a regular
Posts: 292
Since: 2003/6/20
#10

Re: TinyMCE4XOOPS 2.0 available

Goffy, read your pm for my e-mail.
Send me your files (just your files) in the sames directory struture.