Tinymce4 Filemanager not working?
Tinymce4 Filemanager not working?
Just trying out Tinymce4
which is on the whole not bad, actually quite good, with some adjustments to the inits.
Only Filemanager doesn't work as expected:
If you click on Source (Quelle) you don't get the Filemanager but a new window with the headline Filemanager and THE WEBSITE AGAIN!
Tried this a website I am working on with modified Tinymce4
and with a fresh 1.6.6 without any modification on Tinymce4
There seems to be no way to insert an image.
EDIT: Gerade den Fehler gefunden: init.php Zeile36, scheint nicht zu funktionieren. Wenn man Zeile 35 aktiviert und Zeile 36 auskommentiert, funktioniert der Filebrowser wieder.
which is on the whole not bad, actually quite good, with some adjustments to the inits.
Only Filemanager doesn't work as expected:
If you click on Source (Quelle) you don't get the Filemanager but a new window with the headline Filemanager and THE WEBSITE AGAIN!
Tried this a website I am working on with modified Tinymce4
and with a fresh 1.6.6 without any modification on Tinymce4
There seems to be no way to insert an image.
EDIT: Gerade den Fehler gefunden: init.php Zeile36, scheint nicht zu funktionieren. Wenn man Zeile 35 aktiviert und Zeile 36 auskommentiert, funktioniert der Filebrowser wieder.
Re: Tinymce4 Filemanager not working?
Zeile 36 ist schon für XH 1.7 vorbereitet, das eine andere URL erfordert.svasti wrote:Gerade den Fehler gefunden: init.php Zeile36, scheint nicht zu funktionieren. Wenn man Zeile 35 aktiviert und Zeile 36 auskommentiert, funktioniert der Filebrowser wieder.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Tinymce4 Filemanager not working?
Ui, läuft wohl alles darauf hinaus, dass das der Standardeditor wird... da möchte ich aber vorher dringend ein paar Änderungen anmelden. Wäre schön gewesen, wenn der Editor selbständig erkennt, unter welcher XH-Version er arbeitet und entsprechend den Link zur Filebrowser setzt.
Re: Tinymce4 Filemanager not working?
Entweder der TinyMCE 4 oder der CKEditor. Der TinyMCE 3 wird schon lange nicht mehr weiter entwickelt, und nicht mal problematische Bugs werden noch angegangen, so dass wir selbst nachbessern mussten. Und andere Alternativen sehe ich nicht. Ich setze das mal auf die Roadmap, damit es nicht vergessen wird. Darüber abstimmen können wir später noch, denke ich – bis dahin wissen wir vielleicht mehr, wie sich die beiden Editoren entwickeln.svasti wrote:Ui, läuft wohl alles darauf hinaus, dass das der Standardeditor wird...
Ja auf dann. Am besten im eigenen Thread in OD.svasti wrote:da möchte ich aber vorher dringend ein paar Änderungen anmelden.
Oder zumindest ein Hinweis in einem Readme, oder so. Wie ich gerade feststelle, wird das TinyMCE 4 Plugin doch gar nicht mal selten herunter geladen, und vermutlich verwenden oder testen es die meisten unter aktuellen XH Versionen.svasti wrote:Wäre schön gewesen, wenn der Editor selbständig erkennt, unter welcher XH-Version er arbeitet und entsprechend den Link zur Filebrowser setzt.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Tinymce4 Filemanager not working?
corrected init.php available in the trunk.
Re: Tinymce4 Filemanager not working?
On PHP 5.2:
Parse error: syntax error, unexpected T_STRING in /mnt/webl/d1/68/5646768/htdocs/divyayoga/plugins/tinymce4/index.php on line 24
Parse error: syntax error, unexpected ':' in /mnt/webl/d1/68/5646768/htdocs/divyayoga/plugins/tinymce4/index.php on line 39
Parse error: syntax error, unexpected T_STRING in /mnt/webl/d1/68/5646768/htdocs/divyayoga/plugins/tinymce4/index.php on line 24
Parse error: syntax error, unexpected ':' in /mnt/webl/d1/68/5646768/htdocs/divyayoga/plugins/tinymce4/index.php on line 39
Wondering why the goto would be necessaryPHP-Manual wrote:Note:
The goto operator is available as of PHP 5.3.
Re: Tinymce4 Filemanager not working?
I just wanted to suggest to use PHP CompatInfo to check for such issues, but noticed that the goto keyword is not yet checked. Nonetheless using PHP CompatInfo appears to be helpful, and since version 4 it's very easy to use (no need for phpcompatinfo.json).
Christoph M. Becker – Plugins for CMSimple_XH
Re: Tinymce4 Filemanager not working?
Sorry for the inconvenience. I didn't realize that an old fashioned goto/label was just invented in php5.3. I use it to get around the CMSIMPLE_XH_VERSION = '@CMSIMPLE_XH_VERSION@' constant in development environment. Normally for production I just comment out the goto command. Does anybody have another idea to handle this?svasti wrote:On PHP 5.2:
Parse error: syntax error, unexpected T_STRING in /mnt/webl/d1/68/5646768/htdocs/divyayoga/plugins/tinymce4/index.php on line 24
Parse error: syntax error, unexpected ':' in /mnt/webl/d1/68/5646768/htdocs/divyayoga/plugins/tinymce4/index.php on line 39
Wondering why the goto would be necessaryPHP-Manual wrote:Note:
The goto operator is available as of PHP 5.3.
Christoph, do you have a quick step advice how to integrate this in our development environment? A nice addition to the test suites.cmb wrote:I just wanted to suggest to use PHP CompatInfo...
regards
manu
Re: Tinymce4 Filemanager not working?
Perhaps it's best to rewrite that if statement:manu wrote:I use it to get around the CMSIMPLE_XH_VERSION = '@CMSIMPLE_XH_VERSION@' constant in development environment. Normally for production I just comment out the goto command. Does anybody have another idea to handle this?
Code: Select all
if ( CMSIMPLE_XH_VERSION !== '@CMSIMPLE_XH_VERSION@' ) {
// further version checks
}
Well, it is already integrated (`phing compat`) and checks the core and the internal plugins. However, to simply check a folder (including all subfolders), since PHP_CI 4 you can just put a copy of phpcompatinfo.phar into this folder, and runmanu wrote:Christoph, do you have a quick step advice how to integrate this in our development environment? A nice addition to the test suites.
Code: Select all
php phpcompatinfo.phar analyser:run .
Christoph M. Becker – Plugins for CMSimple_XH
Re: Tinymce4 Filemanager not working?
Toll, Mann! Ich habe fast 2 Tage herumprobiert damit, bis ich hier auf deine Lösung gestoßen bin. Besten Dank dafürsvasti wrote: EDIT: Gerade den Fehler gefunden: init.php Zeile36, scheint nicht zu funktionieren. Wenn man Zeile 35 aktiviert und Zeile 36 auskommentiert, funktioniert der Filebrowser wieder.