tinymce editor with iManager image plugin for moodle 1.6

tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
Number of replies: 16
I think that it will be easy to integrate the tinymce editor ( http://tinymce.moxiecode.com/ ) with the iManager image plugin ( http://www.j-cons.com/news/more.php?id=159_0_1_0_C ) for moodle 1.6

I am having problems not to integratethe tiny mce editori moodle 1.6 but to configure the iManager plugin to get and return the right paths!
The problems are
---> the returned url is not using the "file.php?src=".
---> the phpThumb plugin (part of the Imanager plugin) is returning error thumb

I will need some help here on that.Any help is appreciated.
i include all my changes later.



Average of ratings: -
In reply to aggelos panagiotakis

Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
Done! I semi-integrated a fine LGPL image uploader (iManager) for tiny mce for moodle 1.6! Now We can finaly change the editor!
Now it works fine now except one thing :
the produced thumbnails using phpthumb are not displayed correctly!
the error was that i used: "file.php?src=" instead of "file.php?file="
Download this file:
http://agelos.panagiotakis.homelinux.org/tiny_mce.tar.gz
and extract it's contents to [moodle_folder]/lib/editor/tinymce/

pay attention to the configuration file of imanager :
/lib/editor/tinymce/plugins/imanager/config/config.php
and the configuration file of phpthumb
/lib/editor/tinymce/plugins/imanager/scripts/phpThumb/phpThumb.config.php
any help to solve the issues of phpThumb to produce thumbs is appreciated!
also i would like to make better directory views for moodle(Site Files and Module Files)
Thanks.

In reply to aggelos panagiotakis

Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
I forgot to mention that in order To enable TinyMCE, locate the "weblib.php" in the folder "lib" of your moodle system and make a copy - you never know...
no do what this post says!
http://moodle.org/mod/forum/discuss.php?d=59085#p268114


In reply to aggelos panagiotakis

Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
We can't change 1.6, but have you tried this yet against 1.9 / HEAD?

How are you finding the speed of TinyMCE? A year ago it was really slow to load in Moodle ... is that better now?
In reply to Martin Dougiamas

Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
No i have not tried this yet against 1.9 / HEAD.
I am afraid that it's not so speedy, But it's more reliable anyway.
I think i can say for sure; i am not having any benchmarking abilities !It's just a feeling!

In reply to aggelos panagiotakis

Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Svetlin Stoyanov -
Thanks Aggelos. Well done!
In reply to Svetlin Stoyanov

Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
well have you tried it ? i know you wanted it so much...... we had a contact a month or so ago.
In reply to aggelos panagiotakis

Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Julian Ridden -
I was going to test your code on my 1.8 but the link is broken.

Could you update?

Thanks
JR
In reply to Julian Ridden

Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
sorry about this! you see this my personal pc. ... and i rebooted to windows. now my link should work fine!
In reply to aggelos panagiotakis

Re: Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Stephen S -
The link to your files on your PC are down again...i am really interested in testing the imanager plugin
In reply to Julian Ridden

Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Richard Cory -
Any luck with the original or this version of timymce with moodle 1.8, Julian?

I only obtained a blank page.

If you got it to work, what exactly did you do?
If you can attach a copy of the modified weblib.php file, that would be great.

thanks
RC
In reply to Richard Cory

Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by aggelos panagiotakis -
this is the web lib file you asked for in a zip file cause it's too big(180KB).
i will explain what i did later on this day, if i have some free time.
In reply to aggelos panagiotakis

Re: Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Richard Cory -
Thanks aggelos

Before I try it, I look forward to your explanation. As the code for the moodle 1.8 weblib file is quite different, I'd like to know if I only need to change the section where tinymce occurs (comparing the nonmatching lines in your weblib.php; Line 3593:3733; to the original weblib.php; Line 3766:3828 in moodle 1.8)

RC
In reply to Richard Cory

回复: Re: Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by rongguang liu -

Thanks a lot for  aggelos.I also look forward to your explanation.I try your providing file in moodle1.7. The tinymce editor really comes out.But,the tinymce editor gives a few tools.For example,I can't insert flash,video,all kinds
marks .how do i enlarge the tinyce editor.thanks .

In reply to rongguang liu

Re: 回复: Re: Απάντηση: Re: Απάντηση: tinymce editor with iManager image plugin for moodle 1.6

by Paolo Oprandi -
to stop me recreating the wheel, has anyone a version of Aggelos's invention for moodle 1.8?

thanks,
paolo
In reply to aggelos panagiotakis

Trả lời: tinymce editor with iManager image plugin for moodle 1.6

by NM Co. None -
Làm ơn nói rõ ràng 1 tí đi! Nói thế này thì cũng ko hiểu nữa huống chi là người! hehe!10.gif

Post by Nguyễn Ngọc Mạnh VN 16/07/2007
Attachment _EVIL_SPIRIT_.jpg