TinyCE - Free TinyMCE-Editor for OXID-CE

Hello OXIDians,

We recently needed a WYSIWYG-Editor for one of our OXID-CE projects, so we wrote a module to automatically add TinyMCE in the places we need it. It seems to work pretty well, so we dediced to give it away.

You can download it here for free. It should work with almost any version of OXID 4:

http://gn2-code.de/projects/tinyce/files

Dave, GN2 netwerk

Hi Dave!

Thanks for sharing with the community. Until now the Tiny was not working well, so most users seem to work with the FCK.

Maybe you want to include into Oxid-Wiki or Oxid Exchange? So it does not get lost in the Forums over the weeks?

http://www.oxid-esales.com/de/exchange/extensions/tinyce

Thanks for adding!

[QUOTE=GN2 netwerk;58987]http://www.oxid-esales.com/de/exchange/extensions/tinyce[/QUOTE]

Really tried a lot getting this one working. With 4.5 it either blocks the whole backend, or shows the editor, but does not save any changes.

I looked for hours now through the forums. With older CE version there was always an editor available. Tinymce or Fck, now it seems like there is none working.

If anyone ha a link or idea where to look, I’d be very happy.

PS: I know I might be able to buy a module, but that cannot be the idea paying for one of the absolute minimum features :wink:

You are not paying the shop software - so why don´t pay a little fee for necessary features?
No one gets rich with selling little modules, but you support future development of them.

Hi,

Have a go with the latest version (don’t forget to add the module-line for oxoutput):

http://www.gn2-netwerk.de/download/tinyce.zip

Dave

[QUOTE=david;71403]Hi,

Have a go with the latest version (don’t forget to add the module-line for oxoutput):

http://www.gn2-netwerk.de/download/tinyce.zip

Dave[/QUOTE]

Thank you Dave. But using “oxoutput => tinyce/tinyce_oxoutput” kills the backend and frontend again.

Saw on the other non working version, that the “headitem.tpl” might need some adjustments. But really not having a clue though. With older versions it always worked. Any ideas for a dummy like me?

Any ideas for a dummy like me?

Yes. Make sure your modules folder looks like this:

I suspect that you may have just have copied the tiny_mce folder into your modules folder instead of tinyce.

The whole point of this module is to be as “modular” as possible. It is not necessary to make any template changes.

Regards

Dave

I copied it in the correct structure. But anyway as it seems, the installation does not work anymore. I will give it a new shot with a blank installation. Read it on certain posts in the forum, that people have this issue. Maybe it is php version related or something else. I try it, don’t want to have this one running on presta, want oxid :wink:

Plan B would be to give FCK a chance - even if there is a small fee for that.

[QUOTE=david;71415]Yes. Make sure your modules folder looks like this:

I suspect that you may have just have copied the tiny_mce folder into your modules folder instead of tinyce.

The whole point of this module is to be as “modular” as possible. It is not necessary to make any template changes.

[/QUOTE]

THANKS. It was not that. But with a clean install using UTF8 it works fine. You might want to add a little readme to the addon and a donation link :slight_smile:

BTW: In the module section you shoul tag it with editor, tinyMCE etc. because then people will find it easier

[QUOTE=Hebsacker;71422]Plan B would be to give FCK a chance - even if there is a small fee for that.[/QUOTE]

Nay. Plan B would be to simply use another shop-system. It is not me running that shop and you might imagine, that everyone want an editor like they now it from their wordpress, typo, joomla…
And really charging 30,- EUR for something like that is completely overprised unless you would develop an editor yourself. Even I was able to get the standard tinymce at least running with the descriptions, but with tons of problems for sure, because I have no clue about all the hooks and scripts loaded within oxid.

Modules you should charge for would be ones you really have to develop, e.g. automated-packing lists, better im-/export modules for different software solutions, cross-modules for cms or blog systems etc.
I like the TinyCE approach, and will recommend the company, if someone aks me for a service company.

It´s not a fee for Oxid, nore for me. And I´m not working for Oxid.

This is a free agency which has adjusted the FCK for the Oxid-shop. As I have told you, it used to be free some time ago. This fee was introduced when Oxid was coming to 4.5 as there where some modifications needed then in the FCK.
Time is money as you know. And I can understand the agency in this case.

On the other hand, how many time did you spend on searching, asking, trying by now? What imputed entrepreneurial profit by hour do you set for your work? Don´t you think sometimes 30,- Euros for a module can be much cheaper than working 2 hours by yourself?

Anyway, you found a working solution with the TinyMCE here - so everything is fine now.

Hi,

I have tried to install this but in 4.8.6 the directory with modulues is
/modules/oe/[modulename]

I have made the directory /modules/oe/tinyce
and put the contents of the zipfile in there.
Then editted tinyce_oxoutput.php to put the right path in there with modules/oe/

When i try to activate the module (on localhost) then oxid asks me if I want to delete
oxoutput => tinyce/tinyce_oxoutput then it ws already registered.

I have 2 questions.
1 - where is “oxoutput => tinyce/tinyce_oxoutput” saved? Maybe when I delete it, I can install new.
2 - have any other files in tinymce been altered, where I have to correct the path.

It would be nice if I could use Tinymce, I am used to it in my cms.

Kind regards,
Jan

Hello janvl,

TinyCE isn’t supported anymore and won’t work properly in 4.8.x without being fixed.

We aren’t going to fix it as we have switched editors.

I recommend that you look for another TinyMCE module for oxid. There are several on Github.

Dave

Thanks for the answer.

edit 31.07.2014
I downloaded hdi-master-tinymce and had it running in a testinstall after some minor adjustments.

Kind regards,
Jan

After installing hdi-master-tinymce I missed a filemaneger to upload images.

The solution to that is the following.

get roxy filemanager

get jquery 1.11.1

change the version of jquery to 1.11.1
in /fileman/index.html

[COLOR=“DimGray”]<!-- Place inside the <head> of your HTML -->
<script type=“text/javascript” src=“http://localhost/testordner32/tinymce/js/tinymce/tinymce.min.js”></script>
<script type=“text/javascript”>
tinymce.init({
selector: “textarea”,theme: “modern”,width: 680,height: 300,
plugins: [
“advlist autolink link image lists charmap print preview hr anchor pagebreak”,
“searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking”,
“table contextmenu directionality emoticons paste textcolor”
],
toolbar1: “undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect”,
toolbar2: “| link unlink anchor | image media | forecolor backcolor | print preview code “, file_browser_callback: RoxyFileBrowser,
image_advtab: true ,
subfolder:””,

});

function RoxyFileBrowser(field_name, url, type, win) {
var roxyFileman = ‘http://localhost/testordner32/fileman/index.html’;
if (roxyFileman.indexOf("?") < 0) {
roxyFileman += “?type=” + type;
}
else {
roxyFileman += “&type=” + type;
}
roxyFileman += ‘&input=’ + field_name + ‘&value=’ + document.getElementById(field_name).value;
tinyMCE.activeEditor.windowManager.open({
file: roxyFileman,
title: ‘Roxy Fileman’,
width: 850,
height: 650,
resizable: “yes”,
plugins: “media”,
inline: “yes”,
close_previous: “no”
}, { window: win, input: field_name });
return false;
}
</script>
<!-- Place inside the <head> of your HTML -->[/COLOR]

Note, the path to “fileman/index.html” must be absolute

edit conf.json
point to the right directory and make sure it is writeable (770) by the webserver
"FILES_ROOT":"/testordner32/Userfiles",

That should do it.

Kind regards,
Jan