What about a TyniMCE update?
The version in efiction is 2.1.0 and now they have 3.0.9...
π
I tried to install it by myself but as I'm not so much into PHP I ended up messing the header code xDD
So if it's not in this new version, it would be helpful if could tell what should we have to change in case we wanted to install it.
Now I'll go on seeing if everything else is all right π
Thanks a lot for your work... I'll make a donation as soon as I get paid π
Download tinyMCE and then replace the files. There's nothing to change in the php.
Hummm....I did it and it didn't worked, that's why I asked...
THe main thing is that I downloadad the compressor, and it asks you to change a line in the code
1. Copy the tiny_mce_gzip.js and tiny_mce_gzip.jsp to the tiny_mce directory. The same directory that contains the tiny_mce.js file.
2. Remove the current script tag. <script type="text/javascript" src=""tinymce/jscripts/tiny_mce/tiny_mce.js"></script>"
3. Add the new new GZip script <script type="text/javascript" src=""tinymce/jscripts/tiny_mce/tiny_mce_gzip.js"></script>."
4. Add the new GZip initialization call that will tell the compressor what to include in the output. This should be the sum of all and themes, plugins contained on page.Remember that the tinyMCE_GZ.init call must be placed in it's own script tag.
That would be the tag in this line?
echo "<script language="javascript" type="text/javascript" src="""._BASEDIR."tinymce/jscripts/tiny_mce/tiny_mce.js"></script>[/code"]
To add the other init, should I write a new echo with it and also add the other echo with if(USERUID) o that not?Since this script has more things than explained in their wiki http://wiki.moxiecode.com/index.php/TinyMCE:Compressor/JSP
I'm a bit lost :SBut well, I'll try again and again till it works properly :)
Thanks
I split this off from the original topic and am moving it to MOD support.
Change the line you saw from:
echo "<script language="javascript" type="text/javascript" src="""._BASEDIR."tinymce/jscripts/tiny_mce/tiny_mce.js"></script>"
to:
echo "<script language="javascript" type="text/javascript" src="""._BASEDIR."tinymce/jscripts/tiny_mce/tiny_mce_gzip.js"></script>"
tinyMCE_GZ.init({
plugins : 'advhr,advimage,advlink,searchreplace,contextmenu,preview,fullscreen,paste".($current == "adminarea" ? ",codeprotect" : "")."',
themes : 'advanced',
languages : '$language',
disk_cache : true,
debug : false
});
Million thanks <3