Sha256: 3e7894cbf6f3469fba821f4f60ec24f4599734942aa176d61067c236cd51ca22

Contents?: true

Size: 1019 Bytes

Versions: 6

Compression:

Stored size: 1019 Bytes

Contents

= 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

   el_vfs:
      protocol: <protocol>
      host: <host>
      port: <port>

= LICENSE

This project rocks and uses MIT-LICENSE.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
el_vfs_client-0.0.5.2 README.rdoc
el_vfs_client-0.0.5.1 README.rdoc
el_vfs_client-0.0.5 README.rdoc
el_vfs_client-0.0.4.1 README.rdoc
el_vfs_client-0.0.4 README.rdoc
el_vfs_client-0.0.3 README.rdoc