die musterdenker

tiny_mce for OXID eShop

Tags: , , ,

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.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • BlinkList
  • LinkedIn
  • MisterWong
  • MySpace
  • Netvibes
  • NewsVine
  • Reddit
  • StumbleUpon
  • Technorati
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Yigg

Tags: , , ,

59 Responses to “tiny_mce for OXID eShop”


  1. Roland
    on Nov 3rd, 2008
    @ 11:41

    cool :-)

    why don’t post the link to your blog in our forum?

    Roland


  2. 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


  3. 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 [...]


  4. 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


  5. 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?


  6. 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


  7. 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)


  8. mathias
    on Dez 14th, 2008
    @ 21:43

    new version 0.2 download on the top … more details in the oxid forum


  9. Mec
    on Jan 24th, 2009
    @ 17:49

    Habe Version 0.2 installiert. Firefox funktioniert, Internet Explorer leider nicht. Komisch, weiß jemand woran das liegt?


  10. 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


  11. 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.


  12. 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 ;)


  13. 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


  14. 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.


  15. 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.


  16. peach
    on Mai 4th, 2009
    @ 17:29

    Hallo,
    ich habe leider das gleiche Problem wie qim.
    Läßt sich nichts mehr speichern.


  17. 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?


  18. 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


  19. 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.


  20. qim
    on Mai 5th, 2009
    @ 10:13

    Argh, sorry. War mein Fehler. :-/


  21. 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


  22. 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


  23. mathias
    on Jun 15th, 2009
    @ 15:55

    Hallo Martin, bekommst du einen Javascriptfehler?


  24. 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?!


  25. 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.


  26. 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


  27. mathias
    on Sep 2nd, 2009
    @ 12:28

    ok Update Verfügbar, neue Version 0.3


  28. 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?


  29. 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!


  30. 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.


  31. 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


  32. 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!


  33. 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.


  34. ds cartes
    on Mrz 5th, 2010
    @ 09:38

    ds cartes


  35. 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 [...]


  36. 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 [...]


  37. 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.


  38. wow gold
    on Apr 17th, 2010
    @ 03:57

    80后的小窝
    [url=http://hi.baidu.com/cherrydenghh/]80后的小窝[/url]


  39. wow gold
    on Apr 17th, 2010
    @ 04:00

    Bienvenue à notre wow europe site web.


  40. 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.


  41. batterie
    on Jul 8th, 2010
    @ 09:18

    Thus take a consolidation loan to buy all you require.


  42. labatterie
    on Jul 8th, 2010
    @ 09:19

    It is available to receive the personal loans to solve such problems


  43. labatterie
    on Jul 8th, 2010
    @ 09:19

    That can be the most simple way out for such people, I do opine!


  44. 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.


  45. 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.


  46. Wilber Wender
    on Aug 11th, 2010
    @ 10:52

    Hurra ein neues Sommerloch-Thema: Die Rente mit 70. Der Aufschrei ist natürlich groß. Kaum ebben die Diskussionen um die Rente mit 67 ab, da kommt eine neue Forderung. Die Frage ist nur: Geht es überhaupt ohne eine Anhebung des Rentenalters? Ich denke, dass wir gar nicht anders können, um die immer älter werdende Bevölkerung überhaupt zu tragen.


  47. Larah
    on Aug 17th, 2010
    @ 10:54

    For thorough description I use essay help. You have a good results without any problems!


  48. kostenlose filme
    on Okt 5th, 2010
    @ 21:07

    Hi, vielen Dank für den langen Artikel. Ich bin eigentlich “Neuling” auf diesem Gebiet und suche schon den halben Morgen nach einem, auch für Anfänger, verständlichen Artikel. Nochmal Danke!


  49. OXid eShop CE. Was steckt dahinter - SEO, SEO News, Webentwicklung - SEO Zentrum
    on Jan 20th, 2011
    @ 09:58

    [...] von Grund auf nicht im System integriert ist, ein WYSIWYG – Editor den es auf der Seite von Die Musterdenker gibt. Für andere Module muß gezahlt werden.Jetzt aber zum erschreckenden Teil des Tests, … [...]


  50. Armin
    on Apr 26th, 2011
    @ 20:40

    Hallo, vielen dank für die Anleitung.
    Habe aber noch eine frage: kann man den tiny-mce auch so einbauen, dass die php Codes nicht mitangezeigt werden?


  51. Coach Factory Outlet
    on Jun 23rd, 2011
    @ 09:58

    I have learned a lot from your site.Thanks guys


  52. cheapugg
    on Jul 21st, 2011
    @ 12:12

    Compassion of a Great Man
    It was a bitter cold evening in northern Virginia many years ago.The old man’s beard was glazed by winter’s frost while he waited for a ride across the river.The wait seemed endless.His body became numb and stiff from the frigid north wind.
    He heard the faint,steady rhy thm of approaching hooves galloping along the frozen path.Anxiously,he watched as deveral horsemen rounded the bend.He let the first one pass by without an effort to get his attention.Then another passed by,and another.Finally the last rider neaed the spot where the old man sat like a snow statue.As this one drew near,the old man caught the rider’s eyw and said,”Sir,would you mind giving an ols man a ride to the other side?There doesn’t appear to be a pasageway by foot.” http://www.cheapuggsnowboots.com.au
    Reining his horse,the rider replied,”Sure theing.Hop aboard.”Seeing the ols man was unable to lift his half-frozen body from the ground,the horseman dismounted and helped the old man onto the horse.The horseman took the old man not just across the river,but to his destination,which was just a few miles away.
    As they neared the tiny but cozy cottagem,the horeman’s curiosity caused him to inquire.”Sir,I notice that you let several other riders pas by without making an effort to secure a ride.Then I came up and you immediately asked me for a ride.I am curious why on such a bitter winter night,you wait and ask the last rider.What if I has refused and left you there?” http://www.cheapuggsnowboots.com.au
    The old man lowered himself slowly down from the horse,looked himself slwoly down from the horse,lookde the rider straight in the eyes,and replied,I have benn here for sometime.I reckon I know people pretty good..I looked would have been useless even to ask them for a ride.But when I looked into your eyes,kindness and compassion were evident,I knwe,then and ther,that your gentle spirit wouls wel come the oppoortunity to give me assistance in my time of need.”
    Those heart warming comments touched the horseman deeply.”I am most grateful for what you have said.” He told the old man,”May I never get too busy in my own affairs that I fail to respond to the needs of others with kindness and compassion.” http://www.cheapuggsnowboots.com.au
    With that,Thomas Jefferson turned his horse around and made his way back to the white house.


  53. Ben
    on Aug 25th, 2011
    @ 23:19

    Hi,

    ich nutze die “Community Edition 4.5.0_34568″ nach dem Speichern wird weiterhin der alte Text im Editor angezeigt und die Änderungen werden nicht übernommen.

    Mach ich was falsch, hab ich was vergessen oder liegt es an einer inkompatiblität?


  54. ice block machines usa
    on Sep 21st, 2011
    @ 05:22

    Living without an aim is like sailing without a compass.
    http://www.iceblock-machines.com/how-to-take-good-care-of-your-ice-block-machine.html ice block machines usa


  55. Alfy
    on Okt 27th, 2011
    @ 07:37

    Eigentlich bin ich kein Freund von negativen Kommentaren… Aber dieser Eintrag gefällt mir nicht so gut.Ursprünglich kam ich zufällig her. Aber inzwischen schaue ich ab und zu nach deinen interessanten Artikeln.Aber – ich weiß nicht, warum – heute kann ich mich mit deinem Beitrag irgendwie nicht anfreunden.Es ist zwar schon zu erkennen, was du aussagen willst, aber eine gute Note hättest du dafür in der Schule bestimmt nicht bekommen…

    Und dabei wissen wir doch alle, dass du mehr auf dem Kasten hast… :-)


  56. Runescape gp
    on Okt 30th, 2011
    @ 07:54

    Thank you for sharing this information. The information was very help and saved a lot of my time.

    We’re here for you to RS Gold with very cheap price. If you’re on a budget recently, Aion GoldStore is definitely your perfect choice. Everything for sale from here is only with Cheap WOW Gold.


  57. cheap oakley sunglasses
    on Dez 8th, 2011
    @ 09:25

    WMDSHHZSTZDDHZ
    It is amidst Ugg boot


  58. north face outlet
    on Dez 15th, 2011
    @ 07:04

    I like your information so much. It is something worth appreciating by us. true religion jeans outlet It is very kind thing to see your wonderful post! I’ll come back when I have time.that is very kind cheap oakleys of you to do this for us, thank you very much, you can have a look at the cheap and nice ugg boots cheap oakley sunglasses at this website.I thank you for your sharing represents Christian lonbout, we will continue to share the your resources the north face outlet expect your friends, more excellent article!


  59. Hair Loss
    on Dez 16th, 2011
    @ 23:13

    Very awesome blog !! I couldnt have wrote this any better than you if I tried super hard hehe!! I like your style too!! it’s very

Leave a Reply

© 2009 die musterdenker. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.