FCK Editor und Drupal 4.7

am 16.01.2007 - 15:11 Uhr in
Ich habe es genau nach der Beschreibung installiert http://www.drupalcenter.de/node/2297 , aber im Pop-up-Fenster sehe ich nur einen weißen Bildschirm mit "OK" und "Cancel". Quelltext des Fensters:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>FCKeditor</title>
<script type="text/javascript">
// #### URLParams: holds all URL passed parameters (like ?Param1=Value1&Param2=Value2)
var FCKURLParams = new Object() ;
var aParams = document.location.search.substr(1).split('&') ;
for ( var i = 0 ; i < aParams.length ; i++ )
{
var aParam = aParams[i].split('=') ;
var sParamName = aParam[0] ;
var sParamValue = aParam[1] ;
FCKURLParams[ sParamName ] = sParamValue ;
}
// It is preferable to have the oFCKeditor object defined in the opener window,
// so all the configurations will be there. In this way the popup doesn't need
// to take care of the configurations "clonning".
var oFCKeditor = window.opener[ FCKURLParams[ 'var' ] ] ;
oFCKeditor.Width = '100%' ;
oFCKeditor.Height = '100%' ;
oFCKeditor.Value = window.opener.document.getElementById( FCKURLParams[ 'el' ] ).value ;
function Ok()
{
var oEditor = FCKeditorAPI.GetInstance( oFCKeditor.InstanceName ) ;
window.opener.document.getElementById( FCKURLParams[ 'el' ] ).value = oEditor.GetXHTML( true ) ; // "true" means you want it formatted.
window.opener.focus() ;
window.close() ;
}
function Cancel()
{
var oEditor = FCKeditorAPI.GetInstance( oFCKeditor.InstanceName ) ;
if ( oEditor.IsDirty() )
{
if ( !confirm( 'Are you sure you want to cancel? Your changes will be lost.' ) )
return ;
}
window.close() ;
}
</script>
</head>
<body>
<table width="100%" height="100%">
<tr>
<td height="100%">
<script type="text/javascript">
// For now, it is not possible to retrieve the output HTML, so we must do it by
// hand. Future implementations of FCKeditor could bring a
// oFCKeditor.CreateHtml() function.
document.write( '<input type="hidden" id="' + oFCKeditor.InstanceName + '" name="' + oFCKeditor.InstanceName + '" value="' + oFCKeditor._HTMLEncode( oFCKeditor.Value ) + '" style="display:none" />' ) ;
document.write( oFCKeditor._GetConfigHtml() ) ;
document.write( oFCKeditor._GetIFrameHtml() ) ;
</script>
</td>
</tr>
<tr>
<td>
<input type="button" value="Ok" onclick="Ok();" style="width:120px" />
<input type="button" value="Cancel" onclick="Cancel();" />
</td>
</tr>
</table>
</body>
</html>
Hat jemand eine Idee wie man das Problem beheben könnte?
- Anmelden oder Registrieren um Kommentare zu schreiben
Funktioniert der Editor denn
am 16.01.2007 - 18:26 Uhr
Funktioniert der Editor denn normal, wenn du ihn nicht als PopUp sondern ganz normal in der Textbox benutzt?
Leider auch nicht.
am 16.01.2007 - 18:59 Uhr
Leider auch nicht.
Hast Du mal einen anderen
am 16.01.2007 - 20:21 Uhr
Hast Du mal einen anderen Browser ausprobiert?
--
bv - drupalcenter.de
vlt hilft des den MIMETyp
am 16.01.2007 - 21:05 Uhr
vlt hilft des den MIMETyp Javascript freizuschalten
Ja! Habe IE7 und Firefox
am 17.01.2007 - 00:17 Uhr
Hast Du mal einen anderen Browser ausprobiert?
Ja! Habe IE7 und Firefox ausprobiert.
vlt hilft des den MIMETyp Javascript freizuschalten
Wie mache ich das?
bei apache im verzeichnis
am 17.01.2007 - 19:18 Uhr
bei apache im verzeichnis conf die datei mime.types bearbeiten
dann nach
text/javascript js suchen und notfalls hinzufügen
Re: bei apache im verzeichnis
am 17.01.2007 - 19:43 Uhr
bei apache im verzeichnis conf die datei mime.types bearbeiten
dann nach
text/javascript.js suchen und notfalls hinzufügen
Komm ich bei 1und1 schlecht bis gar nicht dran oder? Oder formulieren wir es anders, ich hab keine Ahnung wie ich an meinen Apache rankomme.
mh was hast du denn für nen
am 17.01.2007 - 19:47 Uhr
mh was hast du denn für nen Webspace?
Re: mh was hast du denn für nen
am 17.01.2007 - 20:13 Uhr
mh was hast du denn für nen Webspace?
Ihr Paket: 1&1 Home 5.0