buongiorno!
ho scaricato questo bellissimo editor che mi serve per un interfaccia news.
lo potete trovare qui: [ http://www.fckeditor.net/ ], ma mi trovo in difficoltà nel farlo funzionare.
queste sono le misere istruzioni che sono postate per guidare l'utente all'installazione:
Installation Instructions
Installing FCKeditor is quite a simple task. Just follow these simple steps:
vi spiego passo passo quello che ho fatto io perché non mi sembra di aver commesso errori; ho scaricato tutto, l'ho decompresso, ho eliminato le cartelle che dice lui [ quelle con il _ come prefisso, che tanto non servono ] ho caricato quindi sul mio server in una cartella manuel/.Donwload the last version of the editor at the following url:
http://sourceforge.net/project/show...?group_id=75348
Uncompress the file to a directory called "FCKeditor"* in the root of your web site.
The editor is now ready to use. To see it immediatelly at work just browse to:
http://<your-site>/FCKeditor/_samples/default.html
* You can place the files in any directory. "FCKeditor" is the default one. If you prefer using another one, just set the editor's base path in the code. For example:
oFCKeditor.BasePath = '/Components/FCKeditor/' ;
You can optionally delete all directories started with underline ("_"). They are not necessary to the editor to run.
Using the editor
The package comes with a test sample page available for every programming languages that the editor is compatible to. Take a look at the _samples directory.
Quindi in manuel/ ho ora una cartella FCKeditor/. Sempre in manuel ho creato una index.php di cui vi posto il codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Prova FCKeditor</title>
<script type="text/javascript" src="FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function(){
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
</head>
<body>
<textarea id="MyTextarea" name="testo"></textarea>
</body>
</html>
ma come risultato ottengo solamente una textarea non formattata!
qualcuno di voi l'ha mai usato questo editor?e riesce magari a darmi qualche dritta?
grazie mille!