Newsgroup: it.comp.www.php
Titolo: Configurare SPAW x PHP-NUKE

Ho installato in locale un PHP-nuke con integrato l'editor SPAW ma non 
riesco a configurarlo a dovere, non mi funzionano le finestre popup che 
servono a caricare immagini e a gestire link e altre cose, il file di 
configurazione è il seguente:
Il server HTTP è Apache 2.2 per Windowsxp, PHP 5.5 x apache, la root del 
sito è  "E:\www"
-----------
<?php
// ================================================
// SPAW PHP WYSIWYG editor control
// ================================================
// Configuration file
// ================================================
// Developed: Alan Mendelevich, 
al...@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                
www.solmetra.com
// ================================================
// v.1.0, 2003-03-27
// ================================================
// directory where spaw files are located
$spaw_dir = '/spaw/';
// base url for images
$spaw_base_url = '
http://localhost/
';
// Sino qui ci sono arrivato ;)
if (!ereg('/$', $HTTP_SERVER_VARS['DOCUMENT_ROOT']))
  $spaw_root = $HTTP_SERVER_VARS['DOCUMENT_ROOT'].$spaw_dir;
else
  $spaw_root = 
$HTTP_SERVER_VARS['DOCUMENT_ROOT'].substr($spaw_dir,1,strlen($spaw_dir)-1);
$spaw_default_toolbars = 'default';
$spaw_default_theme = 'default';
$spaw_default_lang = 'en';
$spaw_default_css_stylesheet = $spaw_dir.'wysiwyg.css';
// add javascript inline or via separate file
$spaw_inline_js = false;
// use active toolbar (reflecting current style) or static
$spaw_active_toolbar = true;
// default dropdown content
$spaw_dropdown_data['style']['default'] = 'Normal';
$spaw_dropdown_data['table_style']['default'] = 'Normal';
$spaw_dropdown_data['td_style']['default'] = 'Normal';
$spaw_dropdown_data['font']['Arial'] = 'Arial';
$spaw_dropdown_data['font']['Courier'] = 'Courier';
$spaw_dropdown_data['font']['Tahoma'] = 'Tahoma';
$spaw_dropdown_data['font']['Times New Roman'] = 'Times';
$spaw_dropdown_data['font']['Verdana'] = 'Verdana';
$spaw_dropdown_data['fontsize']['1'] = '1';
$spaw_dropdown_data['fontsize']['2'] = '2';
$spaw_dropdown_data['fontsize']['3'] = '3';
$spaw_dropdown_data['fontsize']['4'] = '4';
$spaw_dropdown_data['fontsize']['5'] = '5';
$spaw_dropdown_data['fontsize']['6'] = '6';
// in mozilla it works only with this settings, if you don't care
// about mozilla you can change <H1> to Heading 1 etc.
// this way it will be reflected in active toolbar
$spaw_dropdown_data['paragraph']['Normal'] = 'Normal';
$spaw_dropdown_data['paragraph']['<H1>'] = 'Heading 1';
$spaw_dropdown_data['paragraph']['<H2>'] = 'Heading 2';
$spaw_dropdown_data['paragraph']['<H3>'] = 'Heading 3';
$spaw_dropdown_data['paragraph']['<H4>'] = 'Heading 4';
$spaw_dropdown_data['paragraph']['<H5>'] = 'Heading 5';
$spaw_dropdown_data['paragraph']['<H6>'] = 'Heading 6';
// image library related config
// allowed extentions for uploaded image files
$spaw_valid_imgs = array('gif', 'jpg', 'jpeg', 'png');
// allow upload in image library
$spaw_upload_allowed = true;               //true - everyone uploads 
false - only admins upload
// allow delete in image library
$spaw_img_delete_allowed = true;
// image libraries
$spaw_imglibs = array(
  array(
    'value'   => 'you/need/to/change/this/too/',
    'text'    => 'Not configured',
  ),
  array(
    'value'   => 'you/need/to/change/this/too/',
    'text'    => 'Not configured',
  ),
);
// file to include in img_library.php (useful for setting $spaw_imglibs 
dynamically
// $spaw_imglib_include = '';
// allowed hyperlink targets
$spaw_a_targets['_self'] = 'Self';
$spaw_a_targets['_blank'] = 'Blank';
$spaw_a_targets['_top'] = 'Top';
$spaw_a_targets['_parent'] = 'Parent';
// image popup script url
$spaw_img_popup_url = $spaw_dir.'img_popup.php';
// internal link script url
$spaw_internal_link_script = 'url to your internal link selection script';
// disables style related controls in dialogs when css class is selected
$spaw_disable_style_controls = true;
?>

Il doc per l'installazione è questo: 
http://tinyurl.com/2wuwpe
ma non ci ho capito granche...