elFinder problem when combined with elRTE editor

Added by Hristo Petev 11 months ago

I combined the finder and editor but when i select an image it is loaded in the finder window. When I click OK the finder does not add it to the textarea what should be the problem?
Thanks.


Replies (8)

RE: ElFilned problrm when combined with elrte editor - Added by Hristo Petev 11 months ago

$().ready(function() {
        var opts = {
            lang         : 'en',   // set your language
            styleWithCSS : false,
            height       : 400,
            toolbar      : 'maxi',

            fmOpen : function(callback) {
                    $('#finder').elfinder({
                        url : '/admin/js/elrte.finder/connectors/php/connector.php',
                        dialog : { width : 900, modal : true, title : 'File manager' },
                        closeOnEditorCallback : true,
                        editorCallback : callback
                    });
                }
        };
        $('#body').elrte(opts);
    });

This is what i do. Thank you for the fast reply.

RE: ElFilned problrm when combined with elrte editor - Added by Dmitry Levashov 11 months ago

Is there are errors in firebug console while you click 'open fm' ?

RE: ElFilned problrm when combined with elrte editor - Added by Hristo Petev 11 months ago

Until the list of the files is loaded there are no errors. When i click on the image to select it for edit in the main window there is an error:
cur[ontype].apply is not a function
I use jquery-1.6.1
Thank you agaun.

RE: ElFilned problrm when combined with elrte editor - Added by Dmitry Levashov 11 months ago

What versions of elRTE/elFinder? I remember this bug in previous versions

RE: ElFilned problrm when combined with elrte editor - Added by Hristo Petev 11 months ago

elRTE version is 1.2 and elFinder version is also 1.2.

RE: ElFilned problrm when combined with elrte editor - Added by Hristo Petev 10 months ago

Thanks a lot the update made everything working.
Thanks.

(1-8/8)