NEW Version see for download-> http://www.phpwcms.de/forum/viewtopic.php?p=68910#68910
only small Bugfix in Table - if you had installed the 23 TR-Version just replace ../FCKeditor2/editor/js/ the two .js Files
New Features and Improvements of Version 2.3:
* Extremely Fast Loading! The editor now loads more than 3 times faster than before, with no impact on its advanced features.
New toolbar system:
* The toolbar will now load much faster. All images have being merged in a single image file using a unique system available only with FCKeditor.
* The "Text Color" and "Background Color" commands buttons have enhancements on the interface.
New "FitWindow" toolbar button, based on the plugin published by Paul Moers. Thanks Paul!
the enhanced Table-Properties are only in German - maybe someone can translate this to other Languages
Installation:
Download the ZIP-File to your Workstation -> http://dev.phpwcms-xt.de/download/FCKeditor231.zip
rename the Folder ../include/inc_ext/FCKeditor2 to eg. FCKeditor2old on your Server
upload the Folder FCKedito2 to ../include/inc_ext/ on your Server
if you have used the 221-Version from me - thats all
if not, you have to add this to your conf.inc.php
Code: Select all
// values for FCKeditor ;
$phpwcms['UploadPath'] = 'picture/upload'; // path to Uploadfolder from FCK Browser;
$phpwcms['image_path'] = 'phpwcms_filestorage'; // path to phpWCMS Filestorage;
$phpwcms['image_url'] = "localhost"; // Servername 'www.yourdomain.tld';
$phpwcms['UploadPath'] is the path to FCKeditor-Filemangers upload - default 'picture/upload' from root
if you have installed phpWCMS in a Subfolder like cms change it to 'cms/picture/upload'
$phpwcms['image_path'] is the Path to the phpWCMS Filestorage - so you have to change this also if you have installed
phpWCMS in a Subfolder like 'cms/phpwcms_filestorage'
!!! no Slash at front and end '/cms/picture/upload/' will not work !!!
Create at this Location the Folders Image, File, Flash and Media - remember Linux is Casesensitive!
../picture/upload/Image
../picture/upload/File
../picture/upload/Flash
../picture/upload/Media
set the Permissions of this Folders to 777 - remember Pathes are Case-Sensitive !
if your Server runs in 'safe_mode=on'
do the following steps:
goto include/inc_tmpl/files.private.upload.tmpl.php search this (Line~97)
Code: Select all
} else {
$oldumask = umask(0);
if(@mkdir($useruploadpath, 0777)) {;
if(!@move_uploaded_file($_FILES["file"]["tmp_name"], $usernewfile)) {
$file_error["upload"] = $BL['be_fprivup_err3'].' (2)';
}
} else {
$file_error["upload"] = $BL['be_fprivup_err4'];
}
umask($oldumask);
}
Code: Select all
chmod($usernewfile, 0777);
Code: Select all
} else {
$oldumask = umask(0);
if(@mkdir($useruploadpath, 0777)) {;
if(!@move_uploaded_file($_FILES["file"]["tmp_name"], $usernewfile)) {
$file_error["upload"] = $BL['be_fprivup_err3'].' (2)';
}
} else {
$file_error["upload"] = $BL['be_fprivup_err4'];
}
umask($oldumask);
}
chmod($usernewfile, 0777);
if(!isset($file_error["upload"])) {..........
Code: Select all
$IMConfig['safe_mode'] = true;
Important Note for PHP with Safe Mode activated: You'll have to create ../File, ../Flash, ../Image and ../Media in order for the filebrowser to work. Of course, you'll also have to set the correct permissions for these directories. Furthermore, don't use the "Create new folder" button. The folder would be created but couldn't be used (Safe Mode restriction).
If you have Problems with loading the Toolbar
open ../include/inc_ext/FCKeditor/fckconfig.js and change:
Code: Select all
FCKConfig.ToolbarSets["phpwcms"] = [
Code: Select all
FCKConfig.ToolbarSets["Default"] = [
* The Toolbar Sharing system has been completed.
* Small enhancement to the Find and Replace dialog windows.
Fixed Bugs:
* Small security fixes.
* The context menu system has been optimized. Nested menus now open "onmouseover".
* An error in the image preloader system was making the toolbar strip being downloaded once for each button on slow connections. Some enhancements have also been made so now the smaple05.html is loading fast for all skins.
* Fixed many memory leak issues with IE.
* The panels (context menus, toolbar combos and color selectors), where being displayed in the wrong position if the contents of the editor, or its containing window were scrolled down.
* Language files have been updated to not include html entities.
* No more security warning on IE over HTTPS.
* We now assume that, if a user is in source editing, he/she wants to control the HTML, so the editor doesn't make changes to it when posting the form being in source view or when calling the GetXHTML function in the API.
* The FitWindow is now working on elements set with relative position.
* The "Word Wrap" combo in the cell properties dialog now accepts only Yes/No (no more <Not Set> value).
* The context menu is now being hidden when a nested menu option is selected.
* Table cell context menu operations are now working correctly.
* The code formatter was having problems with dollar signs inside tags.
* The "src" element of images can now be set by styles definitions. Thanks to joelwreed.
* Small fix to the FCK.InsertHtml, FCKTools.AppendStyleSheet and FCKSelection.SelectNode functions over IE. Thanks to Alfonso Martinez.
* Small fix to the FCKSelection.GetType ove Firefox. Thanks to Alfonso Martinez.
* The editor now creates link based on the URL when no selection is available. Thanks to Dominik Pesch.
* On some circumstances, the Yahoo popup blocker was blocking the File Browser window, giving no feedback to the user. Now an alert message is displayed.
* When using the editor in a RTL localized interface, like Arabic, the toolbar combos were not showing completely in the first click. Fixed.
* The "FitWindow" feature was breaking the editor under Firefox 1.0.x.
* In Firefox, the caret position now follows the user clicks when clicking in the white area bellow the editor contents. Thanks to Alfonso Martinez.