0.0
No commit activity in last 3 years
No release in over 3 years
Description of ElVfsClient.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

 Project Readme

ElVfsClient¶ ↑

elFinder 2.0 (beta) jQuery plugin for VFS

Quick start¶ ↑

Gemfile:

gem 'el_vfs_client'

Install gem:

$ bundle install

For Rails 3.1.x in application.js

/*
 ...
 *= require jquery
 *= require jquery_ujs
 ...
 *= require jquery-ui
 *= require el_vfs/elfinder.js
 */

$(function() {
  $('#elfinder').elfinder({
    url: '/api/el_finder/v2',
    lang: 'en'
  });
});

In view:

<div id='elfinder'></div>

Styling¶ ↑

For Rails 3.1.x in application.css

/*
 *= require_self
 ...
 *= require el_vfs/el_vfs
 ...
 */

Localize:¶ ↑

For Rails 3.1.x in application.js

/*
 ...
 *= require jquery-ui
 *= require el_vfs/elfinder.js
 *= require el_vfs/i18n/elfinder.ru.js
 */
...
lang: 'ru'
...

Routes¶ ↑

mount ElVfsClient::Engine => '/'

Set el_vfs url¶ ↑

In config/settings.yml

vfs:
   url: <url>

LICENSE¶ ↑

This project rocks and uses MIT-LICENSE.