tinymce4 for Version 1.6
Moderator: Tata
Re: tinymce4 for Version 1.6
You are right. In the full installed Tinymce4 Version, the CDN Version check is unnecessary.
Your patch will help. I'll correct it in the next version.
regards
manu
Your patch will help. I'll correct it in the next version.
regards
manu
Unexpected character in input: '\' (ASCII=92) state=1
I got an error on my customer's server.
"Unexpected character in input: '\' (ASCII=92) state=1 plugins/tinymce4/admin.php on line 168"
line 168 is "$imgUploader = new Tinymce4\Uploader()"
This problem occurs because not server of PHP5.3 more.
My customer's server PHP is Ver5.1.3..
class/Uploader.php
change to
and admin.php about Line168
change to
* I think, It is a good thing to use the namespace, but not even use the namespace.
"Unexpected character in input: '\' (ASCII=92) state=1 plugins/tinymce4/admin.php on line 168"
line 168 is "$imgUploader = new Tinymce4\Uploader()"
This problem occurs because not server of PHP5.3 more.
My customer's server PHP is Ver5.1.3..
class/Uploader.php
Code: Select all
namespace Tinymce4;
/**
* The image uploader controller class.
*
* @category CMSimple_XH
* @package tinymce4
*/
class Uploader
{
Code: Select all
// namespace Tinymce4; //comment out
/**
* The image uploader controller class.
*
* @category CMSimple_XH
* @package tinymce4
*/
class UploaderTinymce //change class name
{
Code: Select all
function ImageUploader_forEditor()
{
global $cf;
$imgUploader = new Tinymce4\Uploader();
Code: Select all
function ImageUploader_forEditor()
{
global $cf;
// $imgUploader = new Tinymce4\Uploader(); // Comment out
$imgUploader = new UploaderTinymce(); // add New
******************************************************
Japan Site http://cmsimple-jp.org
Twitter Googe+ github
*I English is not a good . I'm sorry...
*Ich habe nicht eine gut Deutsch. Es tut mir leid ...
*Jeg kender ikke dansk
--Powered by Google Translate-----
Japan Site http://cmsimple-jp.org
Twitter Googe+ github
*I English is not a good . I'm sorry...
*Ich habe nicht eine gut Deutsch. Es tut mir leid ...
*Jeg kender ikke dansk
--Powered by Google Translate-----
Re: Unexpected character in input: '\' (ASCII=92) state=1
Well, that is some kind of general issue. It's not only about namespace, but about (a) a lot of useful features that are offered by recent PHP versions, and (b) about the fact that old PHP versions are no more supported by the PHP developers. With regard to (b), we can't do anything about that, and in my opinion we don't help anybody by supporting really old versions (even PHP 5.3 is no more supported for quite some time). For one thing, that might mean working around existing bugs in those old versions (ugly for developers), and for another, that means running a webserver with known vulnerabilities.utaka wrote:My customer's server PHP is Ver5.1.3..
[…]
* I think, It is a good thing to use the namespace, but not even use the namespace.
With regard to (a), of course, we could eschew those new features (as has traditionally been done by CMSimple(_XH)), but that means more work or less expressive code, and might easily discourage new developers from joining the development. For what it's worth, I'm having a hard time to constrain myself to features of the last decade.
Christoph M. Becker – Plugins for CMSimple_XH
Re: tinymce4 for Version 1.6
Hallo,
bisher benutzte ich TinyMCE version 3 (revision 5.11). Nun habe ich mir die neueste TinyMCE4.1.2.6 installiert. Ist es möglich, die Icons auch so schön farbig dargestellt zu bekommen, wie in der 3er Version?
Wenn ja, wo / wie ist das zu ändern?
bisher benutzte ich TinyMCE version 3 (revision 5.11). Nun habe ich mir die neueste TinyMCE4.1.2.6 installiert. Ist es möglich, die Icons auch so schön farbig dargestellt zu bekommen, wie in der 3er Version?
Wenn ja, wo / wie ist das zu ändern?
Re: tinymce4 for Version 1.6
In älteren Versionen waren die Ikonen z.B. in \plugins\tinymce\tiny_mce\themes\advanced\img\icons.gif
Man muss versuchen,ob es genügt diese Dateien (für andere Themen auch) zu ersetzen.
Man muss versuchen,ob es genügt diese Dateien (für andere Themen auch) zu ersetzen.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: tinymce4 for Version 1.6
Wenn mich meine Erinnerung nicht trügt, dann verwendet der TinyMCE 4 eine Icon-Font, so dass eine Anpassung nicht trivial sein dürfte. Eventuell gibt es aber bereits fertige alternative Styles.mhz wrote:bisher benutzte ich TinyMCE version 3 (revision 5.11). Nun habe ich mir die neueste TinyMCE4.1.2.6 installiert. Ist es möglich, die Icons auch so schön farbig dargestellt zu bekommen, wie in der 3er Version?
Christoph M. Becker – Plugins for CMSimple_XH
Re: tinymce4 for Version 1.6
If anybody has problems with usage of tinymce4 in the frontend (i.e. Realblog_XH) together with the CDN Version read this.
Re: tinymce4 for Version 1.6
A new tinymce4 1.2.7 version is available on sourceforge which includes the actual tinymce 4.5.3 and all language files. The code resides newly on Github, the .zip files remain on Sourcefourge for download.
See the release notes.
If you want to be up to date all the time consider to choose the CDN Version which draw its tinymce from a Content Delivery Network.
regards
manu
See the release notes.
If you want to be up to date all the time consider to choose the CDN Version which draw its tinymce from a Content Delivery Network.
regards
manu