Jump to content

Fiber

Members
  • Content count

    73
  • Joined

  • Last visited

Posts posted by Fiber


  1.  

    Hi Bert, how should the upload URL be shown? Mine just says:

     

        'uploadURL' => "upload",
        'uploadDir' => "",
     
    I tried some variations, but nothing uploads ever and the "browse server" button always takes me to the front page of the website, so it doesn't work at all.

     

    here is my working config from ckeditor and kcfinder

     

    ext/ckeditor/config.js

    CKEDITOR.editorConfig = function( config ) {
       config.filebrowserBrowseUrl = 'kcfinder/browse.php?type=files';
       config.filebrowserImageBrowseUrl = 'kcfinder/browse.php?type=images';
       config.filebrowserFlashBrowseUrl = 'kcfinder/browse.php?type=flash';
       config.filebrowserUploadUrl = 'kcfinder/upload.php?type=files';
       config.filebrowserImageUploadUrl = 'kcfinder/upload.php?type=images';
       config.filebrowserFlashUploadUrl = 'kcfinder/upload.php?type=flash';
    

    and from adminroot kcfinder config.php

     

        'uploadDir' => "",

  2.  

     

    The contribution then uploads images to a folder within your admin and anyone from the front can then see your admin location - surely that isn't how it is intended?

    Ofcourse its is possible to move the upload directory to the "catalog"  side, example make a directory upload and define path uploadURL in the the config php.

     

    It was explained in the text file also;

    The upload settings can be found in the the /kcfinder/config.php by default any image will be uploaded to /admin/kcfinder/upload/images/ which I personally do not like better to put them in the catalog/images/ where they belong as over the years they may gather  although it is possibile to browse and delete from the admin ckeditor so up to you.

  3. According the readme,

    CKEDITOR.editorConfig = function( config ) {
       config.filebrowserBrowseUrl = '/admin/kcfinder/browse.php?type=files';
       config.filebrowserImageBrowseUrl = '/admin/kcfinder/browse.php?type=images';
       config.filebrowserFlashBrowseUrl = '/admin/kcfinder/browse.php?type=flash';
       config.filebrowserUploadUrl = '/admin/kcfinder/upload.php?type=files';
       config.filebrowserImageUploadUrl = '/admin/kcfinder/upload.php?type=images';
       config.filebrowserFlashUploadUrl = '/admin/kcfinder/upload.php?type=flash';
    };
    
    
    
    
    

    NOTE: If your site resides is a subdirectory it is sometimes necessary (depending on server) to give the full path URL

×