• 18-06-2008, 12:59:37
    #1
    Üyeliği durduruldu
    Arkadaşlar bunu kendi sistemime nasıl entegre edebilirim.
  • 18-06-2008, 13:02:26
    #2
    Üyeliği durduruldu
    http://docs.fckeditor.net/FCKeditor_...ntegration/PHP
    alıntıdır +rep

    Integration step by step

    Step 1

    The first thing to do is to include the "PHP Integration Module" file in the top of your page as in the example below:
    <?php
    include_once("fckeditor/fckeditor.php") ;
    ?>
    Of course the include path refers to the place where you have installed your FCKeditor.
    Step 2

    Now the FCKeditor is available and ready to use. So, just insert the following code in your page to create an instance of the editor inside a <FORM>:
    <?php
    $oFCKeditor = new FCKeditor('FCKeditor1') ;
    $oFCKeditor->BasePath = '/fckeditor/' ;
    $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
    $oFCKeditor->Create() ;
    ?>
    Step 3

    The editor is now ready to be used. Just open the page in your browser to see it at work.
    Complete Sample

    <?php
    include_once("fckeditor/fckeditor.php") ;
    ?>
    <html>
    <head>
    <title>FCKeditor - Sample</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
    <form action="sampleposteddata.php" method="post" target="_blank">
    <?php
    $oFCKeditor = new FCKeditor('FCKeditor1') ;
    $oFCKeditor->BasePath = '/fckeditor/' ;
    $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
    $oFCKeditor->Create() ;
    ?>
    <br>
    <input type="submit" value="Submit">
    </form>
    </body>
    </html>
    "FCKeditor1" is the name used to post the editor data on forms.
    Configuration Options

    You can pass Configuration Options using the Config array. This way you can overwrite the default setting from fckconfig.js for selected users.
    <?php
    $oFCKeditor = new FCKeditor('FCKeditor1') ;
    $oFCKeditor->BasePath = '/fckeditor/' ;

    //set the EnterMode to "br" (overwrites the default configuration from fckconfig.js)
    $oFCKeditor->Config['EnterMode'] = 'br';

    $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
    $oFCKeditor->Create() ;
    ?>


    Handling the posted data

    The editor instance just created will behave like a normal <INPUT> field in a form. It will use the name you've used when creating it (in the above sample, "FCKeditor1"). So, if you have magic quotes enabled, retrieve its value by doing something like this:
    $sValue = stripslashes( $_POST['FCKeditor1'] ) ;
  • 18-06-2008, 13:09:44
    #3
    Eposta Aktivasyonu Gerekmekte
    tabiiki bu php entegrasyonu
    direkt html entegrasyonuda var
    asp için entegrasyonda var
    fck nın içindeki samples i incelemeni tavsiye ederim
  • 18-06-2008, 13:48:12
    #4
    FCK editörü her şekilde sisteme adapte edersin içinde sample dosyaları zaten mevcut
  • 18-06-2008, 14:00:12
    #5
    Üyeliği durduruldu
    yapamadım ya tek istediğim yazdığım yazı ve başlık mysql'a kayıt edilsin. :s
  • 18-06-2008, 22:10:06
    #6
    Eposta Aktivasyonu Gerekmekte
    Yazıyı düzenleme ve ekleme işlemlerini aynı sayfada yapıyorsanız hata alabilirsiniz. Yani:

    if islem = duzenle
    elseif islem = ekle

    gibi... bu işlemler aynı sayfada ise?
  • 19-06-2008, 00:10:24
    #7
    Bir zamanlar bende FCK editörü hayranıydım taa ki TinyMCE ile tanışana kadar.
    Piyasadaki en mükemmel rich text editör.

    bir siteye entegre etmesini 6 yaşındaki velet bile çok rahat yapabilir.

    indirmek ve incelemek için tıkla
  • 04-11-2008, 01:38:35
    #8
    fckeditorde, linklere "nofollow" tag ekleyeceğim,

    kod burada
    aşağıdaki koda nofollow'u nasıl ekleyeceğim yapamadım, bir yardım istiyorum
    Alıntı
    ("//a[@href='"+B+"']",
  • 04-11-2008, 21:42:41
    #9
    bir üstteki posttaki, nofollow kodu , alıntıdaki yere ekleyebilecek yokmu ?