Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript][PHP]CKEditor
Lampek
post
Post #1





Grupa: Zarejestrowani
Postów: 64
Pomógł: 0
Dołączył: 7.01.2011

Ostrzeżenie: (0%)
-----


Witam
Mam na stronce zainstalowany CKEditor i chcę do niego dodać jakiś moduł żeby można było wgrywać przez niego pliki na serwer np zdjęcia. Znalazłem jeden nazywa się elfainder ale czy ma ktoś z was pojęcie jak go zainstalować ażeby działać poprawnie? to znaczy jak kliknę ikonkę dodaj zdjęcie w ckeditorze to żeby wyskoczył elfainder.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Lampek
post
Post #2





Grupa: Zarejestrowani
Postów: 64
Pomógł: 0
Dołączył: 7.01.2011

Ostrzeżenie: (0%)
-----


Próbuje jeszcze raz podpiąć ten manager z fckeditora z tego co przeczytałem w twoim wątku ale dalej mam pusto nie ma żadnych katalogów a nawet przycisków' mam strukturę katalogó localhost\cos\includes\ckeditor\filemanager\index.html

plik config.js

  1. CKEDITOR.editorConfig = function( config )
  2. {
  3. config.filebrowserBrowseUrl = 'includes/ckeditor/filemanager/index.html';
  4. config.filebrowserImageBrowseUrl = 'includes/ckeditor/filemanager/index.html?type=Images';
  5. config.filebrowserFlashBrowseUrl = 'includes/ckeditor/filemanager/index.html?type=Flash';
  6. config.filebrowserUploadUrl = 'includes/ckeditor/filemanager/connectors/php/filemanager.php';
  7. config.filebrowserImageUploadUrl = 'includes/ckeditor/filemanager/connectors/php/filemanager.php?command=QuickUpload&type;=Images';
  8. config.filebrowserFlashUploadUrl = 'includes/ckeditor/filemanager/connectors/php/filemanager.php?command=QuickUpload&type;=Flash';
  9.  
  10. };


plik index.html

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Untitled Document</title>
  5. <script type="text/javascript" src="includes/ckeditor/ckeditor.js"></script>
  6. </head>
  7.  
  8. <textarea id="editor" name="editor">
  9. sdfsdfsfsfsdfsdfsdfdfdfsdfd
  10.  
  11. <script type="text/javascript">
  12. CKEDITOR.replace( "editor",
  13. {
  14. filebrowserBrowseUrl: 'includes/ckeditor/filemanager/index.html',
  15. });
  16.  
  17.  
  18. </body>
  19. </html>


Ten post edytował Lampek 15.03.2012, 16:22:26
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 11.10.2025 - 03:19