WYSIWYG - tiny_mce for admin

Hallo,

ich bekommen folgende Fehlermeldung bei installiertem Modul tinymce:
No such file or directory in /home/web110/public_html/modules/tinymce_article_main.php on line 40weis hier jemand eine Lösung?

Vielen Dank im Vorrausmfg

manfred

Hello,

you might want to try replacing the line (line 40)

$sTinyMCEScript = file_get_contents ("../modules/tinymce/tinymce.inc");

by this:

$sTinyMCEScript = file_get_contents(dirname(__FILE__)."/tinymce.inc");
 $sTinyMCEScript = str_replace( '../modules/tinymce/', $myConfig->getConfigParam( 'sShopUrl' ).'/modules/tinymce/', $sTinyMCEScript );

Does that solve your problem?

Cheers,
Robert

Hi, i just started with Oxid and some days ago I installed the wysiwyg editor. All files are in their supposed Directorys, also headitem.tpl.

If i enter some text and press save i can see for a very short moment the msg. “stylesformatfont familyfont size”. After this there is the empty Editor again.

Do i have to edit the tinymce.inc??

Im testing on an actual xampp version / oxid4 community edition.

Here a Screenshot of Firefox’s WebDeveloper ErrorConsole:http://img118.imageshack.us/my.php?image=logrv8.jpg


plz excuse my bad english :slight_smile:

Hallo,

Ich habe die Erweiterung installiert, wie oben beschrieben.

Es gab keinerlei Probleme. Aber wenn ich etwas mit dem Editor schreibe und klicke dann auf speichern, ist jede Formartierung des Textes wieder weg…

i had the same problems, working with an local installation on xampp - and now, on my test server it dosn´t want to save any changes . in my case it helps to select all the items in the “perform.” then klick save.
try a change in an article or category - it works .
set all entrys in “perform.” back (as you like ) and savings in the etitor works fine also !

have fun
felix

did anyone have a working plugin or code change so that tinymce smarty tags don’t change


Theorie ist, wenn man alles weiß und nichts klappt.
Praxis ist, wenn alles funktioniert und keiner weiß warum.
Beim Computer sind Theorie und Praxis vereint, nichts funktioniert und keiner weiß warum.

Well, take a look at my reply above, I got it working without smarty tags being replaced by TinyMCE…

Hello,

the JavaScript changes I made are in the headitem.tpl, I just checked your 0.2 version and saw that you’ve already included them. These changes at least fixed a problem for me when saving content were TinyMCE was not activated by a module entry (e.g. for newsletter content before I noticed that I can use TinyMCE for that, too ). In the initial version, when TinyMCE was not activated (or invalid for some reason) the content would be cleared instead of saved.

I think that the problems that manni001 described above (about a missing file error message) should be fixed by adding the following two lines to the _generateTextEditor() method (at the beginning of the method):

$myConfig = $this->getConfig(); // add after this line:
$sTinyMCEScript = file_get_contents(dirname(FILE)."/tinymce.inc");
$sTinyMCEScript = str_replace( ‘…/modules/tinymce/’, $myConfig->getConfigParam( ‘sShopUrl’ ) . ‘/modules/tinymce/’, $sTinyMCEScript );

By the way, I noticed that you called the modified headitem.tpl new_headitem.tpl in your copy_this folder. You should either replace the headitem.tpl with new_headitem.tpl or update the readme.txt, telling people to replace the file. The readme.txt currently says that if you made no changes to the admin templates you could just copy the contents of the change_full folder, but that would just add new_headitem.tpl, not replace the headitem.tpl…

Cheers,
Robert

Works fine! Thank you so much!

works not for me :(.

just downloaded version 0.2 and copied the files to the right places but nothing happend! is there something needs to be activated in the backend?

edit: sorry, i’m a newbie and i just found out that i hat to add the module lines into shopsettings! works now!

Hi!

I just tried to install v0.2 but have the same problem that nothing happens.

[ul]
[li] copied the files to the modules directory (unzipped on the linux box)[/li]
[li] copied the files to the out/admin (have made no individual changes to the admin templates)[/li]
[li] added the modules to the shop settings[/li]
[li] renamed new_headitem.tpl to headitem.tpl[/ul][/li]Anything I overlooked?

Best wishesCarsten


Der Essenzenladen http://www.essenzenladen.de
OXID eShop CE 4.0.1

It works! I had to add the two lines mentioned above (http://www.oxid-esales.com/en/resources/forum/modules/wysiwyg-tiny-mce-admin#comment-1334) to the tinmce.php


Der Essenzenladen http://www.essenzenladen.de
OXID eShop CE 4.0.1

Hello!

For all the people whose RTE/WYSIWYG-Editor does not work: For Firefox there also exists anplugin (You can read a small article at this blog in german language: http://live.w00dy.info/2009/05/rte-fur-oxid-shop-ce-community-editon-bzw-alle-textfeldertextareas-mit-firefox/).

It’s called “Write Area”: https://addons.mozilla.org/de/firefox/addon/6147

You can right click EVERY textarea and let it open with the FCKeditor.

Also very comfortable, you don’t have to install any Oxid-Extension and modify the Setup or Code(in case you use firefox ;-))

Greetz from Austria!


http://live.w00dy.info @ work @ http://www.gugler.at

[QUOTE=Void.42;7992]Hi, i just started with Oxid and some days ago I installed the wysiwyg editor. All files are in their supposed Directorys, also headitem.tpl.

If i enter some text and press save i can see for a very short moment the msg. “stylesformatfont familyfont size”. After this there is the empty Editor again.

Do i have to edit the tinymce.inc??

Im testing on an actual xampp version / oxid4 community edition.

Here a Screenshot of Firefox’s WebDeveloper ErrorConsole:http://img118.imageshack.us/my.php?image=logrv8.jpg


plz excuse my bad english :)[/QUOTE]

same problem :frowning:

Hi,

[QUOTE=blp;16190]same problem :([/QUOTE]

Did you check the following answers to your quoted post? There are solutions provided as well as an update of the module.

Regards

Hi,

I installed it today. It seemed to work, but then I regognized, that it unchecks the “active” box, when I save the text and doesn’t let the product reactivate again. So now I have some products which I can’t reactivate anymore.

I also installed “Twoox - OXID meets Twitter”. Maybe those two can’t work together?

My module text looks like this:

oxorder => invoicepdf/myorder
article_main => tc_fckeditor/tc_fckeditor&oo_twox/admin/oo_twox_send_article
oxAdminView => oo_twox/admin/oo_twox_start
oxAdminList => oo_twox/admin/oo_twox_start_list
oxAdminDetails => oo_twox/admin/oo_twox_help&oo_twox/admin/oo_twox_stats&oo_twox/admin/oo_twox_userdata&oo_twox/admin/oo_twox_settings&oo_twox/admin/oo_twox_create_tweet
oxBase => oo_twox/core/oo_twox_gateway
navigation => oo_twox/admin/oo_twox_login
content_main => tc_fckeditor/tc_fckeditor
newsletter_main => tc_fckeditor/tc_fckeditor
category_text => tc_fckeditor/tc_fckeditor
news_text => tc_fckeditor/tc_fckeditor
adminlinks_main => tc_fckeditor/tc_fckeditor

Did I do something wrong?


EDIT: I deinstalled Twoox and it works now. The error must be caused by Twoox.

Thank you for this great module - makes my life easier.

Hi,

as always I’m late.
If it’s about tiny_mce I could help you but looking at your quote you tried to install the “FCK Editor” module. Actually I’m using FCK and it’s working fine I’m also using Twox, which is also nice :slight_smile:

Both together I haven’t tried :frowning:

So repost your Question again as a new Thread with the right title (“FCK” )

Bye

Mathias

Hello MaFi and others,

Is the TinyMCE module still being maintained? Does it work with OXID 4.2.0?

Thanks
Ashant

Haven’t tried it yet … afaik it “should” work … pleas try it and share the result with us :slight_smile: It’s open source so there is no “owner” :wink:

Just installed it in an OXID eShop CE 4.2.0 and it seems to work.