Project

el_vfs

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

ElVfs¶ ↑

elFinder 2.0 (beta) jQuery plugin for VFS

Quick start¶ ↑

Gemfile:

gem 'el_vfs'

Install gem:

$ bundle install

Copy migration to application:

$ bundle exec rake el_vfs:install:migrations

Migrate:

$ bundle exec rake db:migrate

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: 'el_vfs/api/elfinder',
    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'
...

LICENSE¶ ↑

This project rocks and uses MIT-LICENSE.