Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-09-02 10:43:21

Tardiff_JF
New member
Registered: 2009-09-02
Posts: 2

ExtendedFileManager configuration problem

Hi

I have problem to configure ExtendedFileManager.

In my config file i wrote


    xinha_config = xinha_config ? xinha_config() : new Xinha.Config();

    xinha_config.ExtendedFileManager.use_linker = false;
        // pass the configuration to plugin       
        with (xinha_config.ExtendedFileManager)
        {
        <?php

        // define backend configuration for the plugin
        $IMConfig = array();

        $IMConfig['allow_upload'] = true;

        $IMConfig['images_dir'] = '<images dir>';
        $IMConfig['images_url'] = '<images url>';
        $IMConfig['files_dir'] = '<files dir>';
        $IMConfig['files_url'] = '<files url>';
       
        $IMConfig['thumbnail_prefix'] = 't_';
        $IMConfig['thumbnail_dir'] = 't';
        $IMConfig['resized_prefix'] = 'resized_';
        $IMConfig['resized_dir'] = '';
        $IMConfig['tmp_prefix'] = '_tmp';
        $IMConfig['max_filesize_kb_image'] = 2000000;
        // maximum size for uploading files in 'insert image' mode (2000 kB here)

        $IMConfig['max_filesize_kb_link'] = 5000;
        // maximum size for uploading files in 'insert link' mode (5000 kB here)

        // Maximum upload folder size in Megabytes.
        // Use 0 to disable limit
        $IMConfig['max_foldersize_mb'] = 0;
           
        $IMConfig['allowed_image_extensions'] = array("jpg","gif","png");
        $IMConfig['allowed_link_extensions'] = array("jpg","gif","pdf","ip","txt",
                                                     "psd","png","html","swf",
                                                     "xml","xls");

        require_once '/path/to/xinha/contrib/php-xinha.php';
        xinha_pass_to_php_backend($IMConfig);
       
        $IMConfig['allow_edit_image'] = false;
           
        ?>
        }

The maximum size of an image download don't change and I can edit Image.
I think no parameters were changed, but I don't know why.

Can you help me please ?

Offline

#2 2009-09-08 05:37:36

Tardiff_JF
New member
Registered: 2009-09-02
Posts: 2

Re: ExtendedFileManager configuration problem

Hi

I think it's a PHP problem.

The PHP langage is apparently not interpreted in .js file by IIS7.

Offline

Board footer

Powered by FluxBB