Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 347 Pomógł: 0 Dołączył: 27.08.2005 Skąd: Inowrocław Ostrzeżenie: (0%)
|
wywoluje go przez
Bo mozna chyba przez Javascript i inne jak sie nie myle (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) dlatego pisze (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Nie wiem czemu ale nie chodzi mi upload plikow, zrobilem foldery, podalem do sciezke... (moze nei tam gdzie trzba (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) ) PS. jak go mozna skonfigurowac (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (paski itp) bo zmienialem w plikach ale to nie dalo rezlutatu... wyrzucilem wszystkie pliki i działa tylko na 2 (fckeditor.php i fckstyle.xml) wiec gdzie sa te wszystkie grafiki (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) PS2. Tak działa tylko pod FF a w IE bez plikow wogole nie dziala (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) czekam na sugestie (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif) Ten post edytował OnE.Killer 19.11.2005, 20:19:35 |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 26.11.2005 Ostrzeżenie: (0%)
|
Mój fckconfig.js:
Cytat FCKConfig.CustomConfigurationsPath = '' ; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' ; FCKConfig.BaseHref = '' ; FCKConfig.FullPage = false ; FCKConfig.Debug = false ; FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; // FCKConfig.Plugins.Add( 'placeholder', 'en,it' ) ; FCKConfig.ProtectedSource.Add( /<script[\s\S]*?\/script>/gi ) ; // <script> tags. // FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> // FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // php style server side code <?...?> // FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> FCKConfig.AutoDetectLanguage = true ; FCKConfig.DefaultLanguage = 'pl' ; FCKConfig.ContentLangDirection = 'ltr' ; FCKConfig.EnableXHTML = true ; // Unsupported: Do not change. FCKConfig.EnableSourceXHTML = true ; // Unsupported: Do not change. FCKConfig.ProcessHTMLEntities = true ; FCKConfig.IncludeLatinEntities = true ; FCKConfig.IncludeGreekEntities = true ; FCKConfig.FillEmptyBlocks = true ; FCKConfig.FormatSource = true ; FCKConfig.FormatOutput = true ; FCKConfig.FormatIndentator = ' ' ; FCKConfig.ForceStrongEm = true ; FCKConfig.GeckoUseSPAN = false ; FCKConfig.StartupFocus = false ; FCKConfig.ForcePasteAsPlainText = false ; FCKConfig.AutoDetectPasteFromWord = true ; // IE only. FCKConfig.ForceSimpleAmpersand = false ; FCKConfig.TabSpaces = 0 ; FCKConfig.ShowBorders = true ; FCKConfig.UseBROnCarriageReturn = false ; FCKConfig.ToolbarStartExpanded = true ; FCKConfig.ToolbarCanCollapse = true ; FCKConfig.IEForceVScroll = false ; FCKConfig.IgnoreEmptyParagraphValue = true ; FCKConfig.ToolbarSets["Default"] = [ ['Source','DocProps','-','Save','NewPage','-','Templates'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'], ['Undo','Redo','SelectAll','RemoveFormat'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Image'], '/', ['FontName','FontSize'], ['TextColor'], ['About'] ] ; FCKConfig.ToolbarSets["Basic"] = [ ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ] ; FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','TableCell','Table','Form'] ; FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000 ,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800 080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99, FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ; FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ; FCKConfig.MaxUndoLevels = 15 ; FCKConfig.DisableImageHandles = false ; FCKConfig.DisableTableHandles = false ; FCKConfig.LinkDlgHideTarget = false ; FCKConfig.LinkDlgHideAdvanced = false ; FCKConfig.ImageDlgHideLink = false ; FCKConfig.ImageDlgHideAdvanced = false ; FCKConfig.FlashDlgHideAdvanced = false ; FCKConfig.LinkBrowser = true ; //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ; //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ; // ASP.Net // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ; // ColdFusion // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/cfm/connector.cfm' ; // Perl // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/perl/connector.cgi' ; FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ; // php - mcpuk // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ; FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;// 70% FCKConfig.ImageBrowser = true ; //FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ; // ASP.Net // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ; // ColdFusion // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/cfm/connector.cfm' ; // Perl // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/perl/connector.cgi' ; FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ; // php - mcpuk // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ; FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; FCKConfig.FlashBrowser = true ; //FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/asp/connector.asp' ; // ASP.Net // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/aspx/connector.aspx' ; // ColdFusion // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/cfm/connector.cfm' ; // Perl // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/perl/connector.cgi' ; FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ; // php - mcpuk // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ; FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; FCKConfig.LinkUpload = true ; //FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp' ; FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ; FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all FCKConfig.LinkUploadDeniedExtensions = ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ; // empty for no one FCKConfig.ImageUpload = true ; //FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Image' ; FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ; FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png)$" ; // empty for all FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one FCKConfig.FlashUpload = true ; //FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Flash' ; FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ; FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ; FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ; FCKConfig.SmileyColumns = 8 ; FCKConfig.SmileyWindowWidth = 320 ; FCKConfig.SmileyWindowHeight = 240 ; if( window.console ) window.console.log( 'Config is loaded!' ) ; // @Packager.Compactor.RemoveLine Plik includowany do indexu z edytorem: Cytat <?
include ("../FCKeditor/fckeditor.php"); if ($_POST['akcja'] == 'dodaj') { if ($_POST['tytul'] && $_POST['news']) { $tytul = $_POST['tytul']; $news = $_POST['news']; $data = $dzisiaj; $query = "INSERT INTO `news` ( `id` , `data` , `tytul` , `news` , `publ`) VALUES ( '', '$data', '$tytul', '$news', '1' );"; $wynik = mysql_query ($query); print '<br>Rekord dodany prawidłowo'; } else { print 'Oops!'; } } ?> <div align="right"> <form method="post"> <INPUT TYPE="hidden" NAME="akcja" VALUE="dodaj"> <B>Tytuł:</B> <input type="text" name="tytul" style="width: 85%"> <? $oFCKeditor = new FCKeditor('news') ; $oFCKeditor->BasePath = '../FCKeditor/'; $oFCKeditor->Width = '96%' ; $oFCKeditor->Height = '300' ; $oFCKeditor->Value = 'Default text in editor'; $oFCKeditor->Create() ; ?> <br> <input type="submit" value="Dodaj"> </form></DIV> |
|
|
|
OnE.Killer FCKeditor 19.11.2005, 20:03:19
mike_mech 1.
JavaScript
[HTML] pobierz, plaintext <scrip... 20.11.2005, 14:30:19
OnE.Killer tylko to zmienialem i nic sie nie działo (bo to j... 20.11.2005, 15:38:54
mike_mech Cytat(OnE.Killer @ 2005-11-20 15:38:54)tylko ... 20.11.2005, 17:25:20
OnE.Killer Danke sehr Zaraz przetestuje Jakby cos nie dział... 21.11.2005, 22:13:23
tomadej Witam!
Także mam problem z uploadem w FCKedito... 26.11.2005, 21:03:39
MiGoo Rowniez mam problem z konfiguracja tego edytorka. ... 28.11.2005, 12:18:49
tomadej Witam ponownie.
Po kilku zmianach FCKeditor uploud... 13.12.2005, 12:50:39
MiGoo Cytat(tomadej @ 2005-11-26 21:03:39)fckconfig... 16.12.2005, 13:58:15
MiGoo No tak, ale mi chodzi o konfig w php, a nie w js..... 15.01.2006, 14:10:20
schizwania Witam serdecznie !
Dłubie i dłubie ... 28.05.2006, 19:29:00
sticker dobra jesli chodzi o upload plikow to we wczesniej... 31.05.2006, 12:40:16
cornholio666 Witam,
Zrobiłem wszytko tak jak w powyższych pos... 1.06.2006, 12:39:35
sticker Mam pytanie związene z edytorkiem Moze mi ktoś po... 1.06.2006, 17:05:27
Omega Zastosowałem się do podanych instrukcji no i w prz... 19.07.2006, 23:37:21
jakubson mike_mech
Z tym Uploadem zrobiłem wszystko jak pi... 30.07.2006, 11:52:16
lords Witam!
Moze mi ktos powiedziec jakie wymagania... 10.08.2006, 08:47:46
marcini82 Moze zle ustawione prawa dostepu do katalogow?
Alb... 10.08.2006, 17:09:06
lukas0987 Witam,
Robię wszystko dokładnie jak napisał mike_m... 22.03.2007, 23:57:08
potreb Znalazłem ten temat w sieci, i może dopisze coś do... 24.04.2007, 18:30:58
Dawid-San odświeże temat :/
otóż kiedy klikam na guziczek wr... 22.05.2007, 13:29:34
sparrow Witam,
Ja mam pytanie odnośnie wyłączenia panelu, ... 11.07.2007, 09:31:52
saq84 FINAL SOLUTION: powinno się komuś przydać bo ja si... 16.01.2009, 01:45:32
rybusek Witam wszystkich. Mam pewien problem i chcialbym d... 23.03.2009, 16:45:28
erix Masz błędy w składni, przecież jest wyraźnie napis... 23.03.2009, 17:59:40
rybusek no jak widac dla mnie nie do konca wyraznie ... po... 23.03.2009, 19:10:42
erix Zainstaluj edytor z funkcją sprawdzania składni PH... 23.03.2009, 19:39:52
rybusek udalo się
zrobilem wszytsko jeszcze raz na spokoj... 23.03.2009, 22:49:12
skordan .. jesli ktos ma taki błąd ...
The server didn... 15.05.2009, 14:46:13
nexis Cytat(skordan @ 15.05.2009, 15:46:13 ... 15.05.2009, 14:55:48 ![]() ![]() |
|
Aktualny czas: 26.12.2025 - 11:35 |