Using elFinder 2.x UI with 1.x connector - Studio-42/elFinder GitHub Wiki

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:

Setup

Download and extract elFinder 2.x, make changes to elfinder.html as described below:

1. Include special proxy class

<script src="js/proxy/elFinderSupportVer1.js" type="text/javascript" charset="utf-8"></script>

2. Define transport option and point url to elFinder 1.x connector:

$().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.

⚠️ **GitHub.com Fallback** ⚠️