[SOLVED]phpwcms1.3.5: Spaw-Editor geht nicht

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Bitte den alten Spaw NICHT mehr nehmen!!!

Im Profil entsprechend neuen Editor einstellen.


Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

@sushi

SPAW wurde von dem Paket entfernt wegen einem Sicherheitsrisiko und durch den neueren SPAW2 ersetzt.

Also alles 'normal' - allerdings sollte der SPAW dann auch aus der Auswahl raus -> @OG und durch SPAW2 ersetzt werden !?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Mobius
Posts: 39
Joined: Sun 15. Aug 2004, 13:07
Location: Hungary
Contact:

Post by Mobius »

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
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/.
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?
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Bitte, das ist die deutsche Supportsektion.


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/' ;
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Mobius
Posts: 39
Joined: Sun 15. Aug 2004, 13:07
Location: Hungary
Contact:

Post by Mobius »

Oliver Georgi wrote:Bitte, das ist die deutsche Supportsektion.
Oliver
Oh verzeihung. Ich habe das topic from suchen gefunden.
Und mein deuch ist sehr schlecht.
nehemia
Posts: 118
Joined: Mon 11. Sep 2006, 21:19
Location: Fürth
Contact:

Immer noch das gleiche Problem - SPAW2 geht nicht!

Post by nehemia »

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:

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
Außerdem erscheinen keine Icons im Editor, wobei der geladene Artikel allerdings lesbar und editierbar ist.
Vielleicht hat jemand noch einen Tip.
Gruß, Martin
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Config angleichen - diesen Wert gibt es nicht mehr.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
nehemia
Posts: 118
Joined: Mon 11. Sep 2006, 21:19
Location: Fürth
Contact:

Post by nehemia »

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
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Code: Select all

$phpwcms['wysiwyg_template']  = array(	'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 
										'SPAW2' => 'standard,all,mini'  );
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
nehemia
Posts: 118
Joined: Mon 11. Sep 2006, 21:19
Location: Fürth
Contact:

Post by nehemia »

Einwandfrei, Oliver! Das war die Lösung. Vielen Dank.
Gruß, Martin :D
Post Reply