The connector requires following dependencies:
  • elFinder 2.X - get it from http://elfinder.org/ or from source code directly
  • jQuery 1.7.1 - any newer should also work (this is determined by elFinder)
  • jQuery UI
  • IoC container like: Autofac version 2.6.3 - but I guess any version should be compatible. Get it from http://code.google.com/p/autofac/ or from source code directly (3rdparty directory).
  • Json.NET version 4.5.9 - get it from http://json.codeplex.com/ or from the source code directly

Installation is straightforward: in your ASP.NET project add dependencies to:
  • elFinder.Connector.dll
  • elFinder.Connector.Integration.*.dll - for instance to use Autofac as IoC add reference to: elFinder.Connector.Integration.Autofac.dll and add reference to Autofac.dll itself

In the MasterPage/Layout/ASPX/CSHTML page that you want to have file manager, make sure that following css and js files are included:

    <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/elFinder-2.0/css/elfinder.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/elFinder-2.0/css/theme.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content( "~/Scripts/jquery-1.7.1.min.js" )" type="text/javascript"></script>
    <script src="@Url.Content( "~/Scripts/jquery-ui-1.8.11.min.js" )" type="text/javascript"></script>
    <script src="@Url.Content( "~/Scripts/elFinder-2.0/elfinder.min.js" )" type="text/javascript"></script>


That's basically it, you can now configure and use it.

Last edited Sep 17, 2013 at 7:06 PM by KZmorzynski, version 3

Comments

No comments yet.