-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Using elFinder 2.x UI with 1.x connector
troex edited this page Apr 12, 2012
·
6 revisions
elFinder 2.x connector uses new JSON protocol but it is still possible to use new elFinder 2.x UI part (JavaScript) with old elFinder 1.x connector through proxy transport class.
Backward compatibility was tested with next connectors:
Download and extract elFinder 2.x, make changes to elfinder.html
as described below:
<script src="js/proxy/elFinderSupportVer1.js" type="text/javascript" charset="utf-8"></script>
$().ready(function() {
$('#finder').elfinder({
url : '../elfinder-1.x/src/connectors/php/connector.php',
transport : new elFinderSupportVer1(),
// more options
});
});
You don't need to make any changes to your connector.