Plugin TinyMCE (Geht nur mit Patch)

Discussion corner for Developers of Serendipity.
Post Reply
darkeye
Posts: 3
Joined: Mon Oct 20, 2008 5:24 pm

Plugin TinyMCE (Geht nur mit Patch)

Post by darkeye »

Ich habe einen Fehler im Plugin TinyMCE gefunden, welcher dazu führt das die aktuelle Plugin Version nicht mit der aktuellen TinyMCE Version zusammenarbeiten kann.

Code: Select all

<script language="javascript" type="text/javascript" src="<?php echo $path; ?>jscripts/tiny_mce/tiny_mce_gzip.php"></script>
Vor dieser Zeile muss in der Datei serendipity_event_tinymce.php
Die folgende Zeile eingefügt werden.

Code: Select all

<script language="javascript" type="text/javascript" src="<?php echo $path; ?>jscripts/tiny_mce/tiny_mce_gzip.js"></script>
Fehlt diese Zeile nicht kommt eine JavaScript Fehlermeldung "u is not defined"

Bin mir nicht sicher wie sich das auf ältere Versionen von TinyMCE auswirkt, also mit Vorsicht anwenden.

---
If you use the version 3.2.0.2 and newer of TinyMCE you must add to serendipity_event_tinymce.php the line:

Code: Select all

<script language="javascript" type="text/javascript" src="<?php echo $path; ?>jscripts/tiny_mce/tiny_mce_gzip.js"></script>
at line 186

M. Michel
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin TinyMCE (Geht nur mit Patch)

Post by garvinhicking »

Hi!

Hm, das ist aber komisch. Eigentlich ist das tiny_mce_gzip.php ja dafür verantwortlich die Javascripts selbst zu laden. Kann es sein, dass dir nur die tiny_mce_gzip.php fehlt, also das tinymce kompressor pack?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
darkeye
Posts: 3
Joined: Mon Oct 20, 2008 5:24 pm

Post by darkeye »

Nein definitiv nicht. Anleitung habe ich 1:1 befolgt. Es geht nicht ich hab das lokal und auf 2 Servern reproduziert. Man muss diese Zeile einfügen sonst geht es nicht. Ich verwende die 1.4-alpha1 und PHP 5.2.0-8+etch11 bzw. 1.3 sowie PHP 5.2.0. Als Editor Version nehme ich die aktuellste (möchte nicht suchen 3.2 glaube ich).
Post Reply