[SOLVED]phpwcms1.3.5: Spaw-Editor geht nicht
- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
In Fckeditor (2007-10-12) it is a window named Image Properties. When I upload a picture In upload tab the file goes to: picture/upload/.Oliver Georgi wrote:ist im aktuellen Snapshot herausgenommen worden. Aktualisiert also Eure Einstellungen unter Profil im backend.
Neuer Snapshot bringt Version 2.5 Beta des FCKeditor mit.
Oliver
But i want to browse the images with resource browser, i can not, because the resource browsers default directory is :
picture/upload/image/upload/
How can I change the resource browsers default directory simly to picture/ or picture/upload/ folder?
- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Bitte, das ist die deutsche Supportsektion.
Update FCKeditor filebrowser configuration:
include/inc_ext/fckeditor/editor/filemanager/connectors/php/config.php
Oliver
Update FCKeditor filebrowser configuration:
include/inc_ext/fckeditor/editor/filemanager/connectors/php/config.php
Code: Select all
$Config['AllowedExtensions']['File'] = array('7z', 'aiff', 'asf', 'avi', 'bmp', 'csv', 'doc', 'fla', 'flv', 'gif', 'gz', 'gzip', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'ods', 'odt', 'pdf', 'png', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'swf', 'sxc', 'sxw', 'tar', 'tgz', 'tif', 'tiff', 'txt', 'vsd', 'wav', 'wma', 'wmv', 'xls', 'xml', 'zip') ;
$Config['DeniedExtensions']['File'] = array() ;
$Config['FileTypesPath']['File'] = $Config['UserFilesPath'] . 'file/' ;
$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'file/' ;
$Config['QuickUploadPath']['File'] = $Config['UserFilesPath'] . 'file/' ;
$Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] . 'file/' ;
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png','psd','tif','tiff') ;
$Config['DeniedExtensions']['Image'] = array() ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ;
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ;
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] . 'image/';
$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] . 'image/';
$Config['AllowedExtensions']['Flash'] = array('swf','fla') ;
$Config['DeniedExtensions']['Flash'] = array() ;
$Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ;
$Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'flash/' ;
$Config['QuickUploadPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ;
$Config['QuickUploadAbsolutePath']['Flash']= $Config['UserFilesAbsolutePath'] . 'flash/' ;
$Config['AllowedExtensions']['Media'] = array('aiff', 'asf', 'avi', 'bmp', 'fla', 'flv', 'gif', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'png', 'qt', 'ram', 'rm', 'rmi', 'rmvb', 'swf', 'tif', 'tiff', 'wav', 'wma', 'wmv') ;
$Config['DeniedExtensions']['Media'] = array() ;
$Config['FileTypesPath']['Media'] = $Config['UserFilesPath'] . 'media/' ;
$Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'media/' ;
$Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] . 'media/' ;
$Config['QuickUploadAbsolutePath']['Media']= $Config['UserFilesAbsolutePath'] . 'media/' ;
Immer noch das gleiche Problem - SPAW2 geht nicht!
Ich habe phpwcms 1.3.5 v. 29.10.07 installiert. Der FCK-Editor funktioniert einwandfrei. Nachdem ich einen Artikle mit ihm erstellt habe, wollte ich den Editor wechseln. Dazu habe ich im BE unter Profil die Einstellung:
'SPAW2: toolbarset_all' vorgenommen.
Wenn ich dann den mit dem FCK-Editor vorher erstellten Artikel aufrufe, erscheint wieder die bekannte Fehlermeldung:
Außerdem erscheinen keine Icons im Editor, wobei der geladene Artikel allerdings lesbar und editierbar ist.
Vielleicht hat jemand noch einen Tip.
Gruß, Martin
'SPAW2: toolbarset_all' vorgenommen.
Wenn ich dann den mit dem FCK-Editor vorher erstellten Artikel aufrufe, erscheint wieder die bekannte Fehlermeldung:
Code: Select all
Warning: Invalid argument supplied for foreach() in /usr/export/www/hosting/mg888/trunk/include/inc_ext/spaw2/class/editor.class.php on line 642
Vielleicht hat jemand noch einen Tip.
Gruß, Martin
- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Entschuldigung, Oliver, die dumme Nachfrage:
Welchen Wert gibt es nicht mehr und wo genau in der conf.inc.php muss ich was angleichen?
Ich sehe in der conf.inc.php nur, dass offensichtlich der SPAW-Editor nicht mehr unterstützt wird. Aber hier geht es doch um SPAW2...
Danke für Deine Geduld!
Gruß, Martin
Welchen Wert gibt es nicht mehr und wo genau in der conf.inc.php muss ich was angleichen?
Ich sehe in der conf.inc.php nur, dass offensichtlich der SPAW-Editor nicht mehr unterstützt wird. Aber hier geht es doch um SPAW2...

Gruß, Martin
- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Code: Select all
$phpwcms['wysiwyg_template'] = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic',
'SPAW2' => 'standard,all,mini' );