Using the new open source CE version of OXID eShop I realised that there is no nice WYSIWYG shipped with it. So I had a look into code and wrote a simple module that makes the admin area use tiny_mce.
Of course this module is GPL and not yet finished
Known restrictions:
- by now only article long text, category long text and CMS use tiny_mce
- not all features of tiny_mce tested
- tiny_mce is not able to deal with smarty tags afaik …
So please feel free to extend, enhance and modify it …
V0.1 download
EDIT:
So first bug has been found: IE 7 ( and others) didn’t work, so here version 0.1.1(iny_mce_for_eshop-v0_1_11) with IE7 fix
The reason and the solution I found here
UPDATE: download oxid_tiny_mce V0.2 Version 0.2
UPDATE: neue Version für Shop > 4.1.5 gibts hier.
Roland
on Nov 3rd, 2008
@ 11:41:
cool
why don’t post the link to your blog in our forum?
Roland
mathias
on Nov 3rd, 2008
@ 17:45:
Good idea!
just did it, so have a look in Community Forum …
http://www.oxid-esales.com/de/resources/forum/modules/wysiwyg-tiny-mce-admin
Vielleicht das erste OpenSource Modul für die Community Edition von OXID! | Onlineshop Blog
on Nov 6th, 2008
@ 19:18:
[...] http://www.musterdenker.de/2008/10/tiny_mce-for-oxid-eshop/ zu den Favoriten hinzufügen Hide Sites [...]
Thomas
on Nov 8th, 2008
@ 16:31:
Your downloadlik for Version 0.1.1 doesn’t work
And following problem with 0.1: Editor works fine, but after save the text is away.
cheers Thomas
mathias
on Nov 8th, 2008
@ 23:48:
… me and computers … Link is working now!
@Thomas: sounds a bit like you didn’t copy the “changed_full” folder. My changed to the /out/admin/tpl/headitem.tpl have to be in your headitem.tpl as well. If thats not the reason, do you get any JS errors?
Void.42
on Nov 12th, 2008
@ 19:34:
Same Problem here…cant save. All files are in thier supposed Directorys, also headitem.tpl.
If i enter some text and press save i can see
for a very short Moment “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
mathias
on Nov 12th, 2008
@ 21:51:
right now I have no idea whats wrong, but I’ll have a look next week and keep u informed.
Another thing: please use also the OXID Forum for discussions (http://www.oxid-esales.com/de/resources/forum/modules/wysiwyg-tiny-mce-admin)
mathias
on Dez 14th, 2008
@ 21:43:
new version 0.2 download on the top … more details in the oxid forum
Mec
on Jan 24th, 2009
@ 17:49:
Habe Version 0.2 installiert. Firefox funktioniert, Internet Explorer leider nicht. Komisch, weiß jemand woran das liegt?
mathias
on Jan 24th, 2009
@ 17:53:
hmm right now no idea, it should work, please have a look in OXID Forum
http://www.oxid-esales.com/de/resources/forum/modules/wysiwyg-tiny-mce-admin
Mec
on Jan 24th, 2009
@ 18:18:
Hallo Mathias!
Soll ich mal Version 0.1.1 probieren, oder ist das von vornherein sinnlos?
Danke!
PS.: ich hoffe es verstößt nicht gegen die Regeln hier deutsch zu schreiben.
mathias
on Jan 24th, 2009
@ 18:26:
nein wenn dann die neuste version 0.2 (bis auf den im Forum erwähnten falschen namen ohne “new_”) Natürlich ist Deutsch hier ok, ist ja musterdenker.DE
WeKlei
on Apr 20th, 2009
@ 20:16:
Ich bekomme den Editor nicht zum Laufen. Das habe ich bisher gemacht:
Hochladen des kompletten (!) Inhalts aus copy_this\modules (Version 0.2) nach Verzeichnis /modules/ des Shops.
Dort gibt es jetzt einen Ordner tinymce, der wiederum den Ordner tiny_mce und die Dateien tinymce.inc und tinymce.php enthält.
Die Dateien headitem.tpl und new_headitem.tpl habe ich in den Ordner out/admin/tpl/ kopiert.
Die Einträge
article_main => tinymce/tinymce
category_text => tinymce/tinymce
content_main => tinymce/tinymce
newsletter_main => tinymce/tinymce
habe ich in den Stammdaten/Grundeinstellungen/System/Module vorgenommen.
Es ist kein WYSISWYG-Editor bei der Artikel-Verwaltung zu sehen.
Was ist falsch ?
Das Oxid-Forum habe ich schon zwei Stunden lang durchforstet, die diversen Beiträge zu tiny_mce gelesen, konnte aber keine Lösung finden. Außerdem ist das Forum so träge, dass ich nicht damit arbeiten kann.
Absolute Frustration
mathias
on Apr 22nd, 2009
@ 17:33:
Ich habe dir eine Mail geschrieben, mit der aktuellen Version 0.2 sollte es jetzt klappen. Bisher war i dr zip eine Datei falsch benannt. Dieser Fehler ist nun behoben.
qim
on Mai 4th, 2009
@ 10:32:
Mit der 4.1.1 scheint das aber nicht mehr zu funktionieren, oder? Der TinyMCE wird zwar angezeigt, aber das Speichern funktioniert nicht.
Der Inhalt wird nicht gespeichert und es erscheint dann wieder ein leerer Editor.
peach
on Mai 4th, 2009
@ 17:29:
Hallo,
ich habe leider das gleiche Problem wie qim.
Läßt sich nichts mehr speichern.
peach
on Mai 4th, 2009
@ 18:17:
Hallo mathias,
was für eine Datei war da bisher in der zip falsch benannt?
Könnte das evtl. mit unserem Problem zusammen hängen?
Könntest Du mir die Datei vielleicht auch zukommen lassen?
peach
on Mai 4th, 2009
@ 20:40:
Hab jetzt die 0.2er nochmals herunter geladen und über die vorhandene drüber installiert.
Funzt jetzt wieder soweit.
Grüße peach
mathias
on Mai 5th, 2009
@ 09:17:
@qim: wie siehts bei dir aus, hat eine Neuinstallation bzw ein leeren des “tmp” Ordners geholfen?
@peach: schön das es wieder geht, in der aktuellen Version (hier im Blog und auf OXID eXchange) sind alle Dateien richtig benannt.
qim
on Mai 5th, 2009
@ 10:13:
Argh, sorry. War mein Fehler. :-/
Daniel
on Mai 25th, 2009
@ 19:00:
Super, teste grad den OXID Shop und habe nun endlich auch einen gut funktionierenden Editor gefunden
… gute Arbeit.
Grüße,
Daniel
Martin
on Jun 15th, 2009
@ 15:49:
Hallo,
es ist wie verhext, ich bekomme den TinyMCE nicht mehr zum Laufen. Der Editor wird nicht mehr geladen – und das, obwohl es am Anfang mal ging. Und dann plötzlich nicht mehr. Ich habe den Editor mehrmals neu installiert (V 0.2) und mich peinlichst genau an die Installationsanleitung gehalten, aber er wird einfach nicht aufgerufen, es kommt das plain-Textfenster von Oxid. Woran kann das liegen??? Bin für jede Hilfe dankbar!
Viele Grüße,
Martin
mathias
on Jun 15th, 2009
@ 15:55:
Hallo Martin, bekommst du einen Javascriptfehler?
jens
on Jun 18th, 2009
@ 09:56:
Hi,
ich hatte auch erst das Problem, das der Editor nicht angezeigt wurde. Ich verwende die aktuelle OXID CE 4.1.2. Ich hatte folgenden Punkt aus der Installationsanleitung nihct ausgeführt:
Die Einträge
article_main => tinymce/tinymce
category_text => tinymce/tinymce
content_main => tinymce/tinymce
newsletter_main => tinymce/tinymce
habe ich in den Stammdaten/Grundeinstellungen/System/Module vorgenommen.
Jetzt geht es. Vielleicht ist das auch bei dir der Fehler?!
wow gold
on Aug 8th, 2009
@ 04:25:
Wonderful article. I been looking for one on a similar note. I guess you always have something up your sleeve.
Sven
on Aug 27th, 2009
@ 18:33:
Hi,
irgendwie scheint der Editor nicht mehr mit den CE Versionen ab 4.1.4 zu funktionieren. Der Versuch etwas zu editieren oder neu anzulegen (egal ob Artikel, Benutzer oder sonstwas) führt dazu das man “zwangsausgeloggt” wird. Warum auch immer.
Ich hab schon einen Eintrag im Oxid Forum gepostet, der auch meine bisherigen Versuche etwas beschreibt http://www.oxid-esales.com/forum/showthread.php?t=2155 .
Ab Version 4.1.4 scheint sich wohl etwas bei den Funktionen, die den zu editierenden Text aufrufen geändert zu haben.
Sven
mathias
on Sep 2nd, 2009
@ 12:28:
ok Update Verfügbar, neue Version 0.3
frank
on Okt 19th, 2009
@ 18:32:
Hallo,
wie bekommt man es hin, dass man im CMS-Bereich die Email-Plain-Texte ohne HTML-Tags definieren kann, trotz tiny_mce?
Oder gibt es die Möglichkeit, tiny_mce für ein einzelnes CMS-Element abzuschalten?
wow power leveling
on Nov 18th, 2009
@ 04:28:
A wonderful article…. In my life, I have never seen a man be so selfless in helping others around him to get along and get working. I feel good that there are people like you too. Thanks for this great weblog of yours. Its surely going to get me to go to higher places!
Mario
on Nov 21st, 2009
@ 13:57:
Kann es sein, dass das Modul in Version 4.2 nicht mehr funktioniert?
Der Editor wird angezeigt, aber die Texte werden nicht gespeichert. NAch dem Speichern ist der Text weg.
replica watches
on Nov 23rd, 2009
@ 09:34:
Replica Watches that replica watchees allow the Replica Watches wearer to monitor their heart rate at any time Replica Watchesprovides the convenience while having the ability to do the same monitoring during activity such as jogging gives it an extra flexibility
Evie27Jc
on Jan 13th, 2010
@ 15:42:
This is unquestioned that the masters writing services could compose the perfect quality papers for sale for students which don’t know how to write. That can be the most simple way out for such people, I do opine!
MianQ
on Jan 17th, 2010
@ 12:18:
Your perfectly done writing referring to this good post comes parallel with the thesis sample. So, you could perform for dissertation writing service.
ds cartes
on Mrz 5th, 2010
@ 09:38:
ds cartes
favoriten speichern
on Mrz 17th, 2010
@ 23:32:
[...] in einer Favoritenliste und nutzen Sie die Share-Funktion, um Ihre Freunde zu informieren. …tiny_mce for OXID eShop Allgemein die musterdenkerDer TinyMCE wird zwar angezeigt, aber das Speichern funktioniert nicht. … NAch dem Speichern ist [...]
ordners
on Mrz 30th, 2010
@ 11:01:
[...] mich bei neuen Kommentaren per E-Mail. Willkommen. Danke fr den Besuch auf adminday.de. …tiny_mce for OXID eShop Allgemein die musterdenkerTags: esales, module, open source, oxid. Using the new open source CE version of OXID … siehts bei [...]
home loans
on Apr 13th, 2010
@ 15:54:
Do not enough money to buy a house? Worry not, because it is available to receive the personal loans to solve such problems. Thus take a consolidation loan to buy all you require.
wow gold
on Apr 17th, 2010
@ 03:57:
80后的小窝
[url=http://hi.baidu.com/cherrydenghh/]80后的小窝[/url]
wow gold
on Apr 17th, 2010
@ 04:00:
Bienvenue à notre wow europe site web.
Nicole Thompsen
on Jul 8th, 2010
@ 07:28:
Although these rugs originated participating now Persia, nowadays they’re existing roughly the ball thanks en route instead of machine made productions office space to rent well as dispense making being carried out in vogue various parts of Asia including Lahore in Pakistan after that Agra in India. Why such a restrictive clause? Hiring agency plants provides you along with unvarying new supplementary reimbursement. Continuous healthy demand, due en route on behalf of rising capital next payment values as a consequence calm availability of capital undergo made it uncomplicated for a outsized total of projects office space to rent buy off on key locations in India, such like Pune, Kolkata, Hyderabad then Mumbai.
batterie
on Jul 8th, 2010
@ 09:18:
Thus take a consolidation loan to buy all you require.
labatterie
on Jul 8th, 2010
@ 09:19:
It is available to receive the personal loans to solve such problems
labatterie
on Jul 8th, 2010
@ 09:19:
That can be the most simple way out for such people, I do opine!
loans
on Jul 24th, 2010
@ 07:56:
Do you acknowledge that it’s the best time to get the loans, which will realize your dreams.
personal loans
on Jul 24th, 2010
@ 07:59:
The home loans are useful for guys, which want to organize their career. As a fact, that’s easy to receive a collateral loan.