Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Elfinder file manager integration for Grails
Groovy
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
grails-app Forgot to commit _init.gsp template
web-app Add static resource bundle definitions, implement elfinder:init command
.classpath Initial import of plugin structure
.gitignore Initial import of plugin structure
.project Initial import of plugin structure
ElfinderResourcesGrailsPlugin.groovy
README.md updated readme
application.properties Initial import of plugin structure

README.md

grails-elfinder-resources

Elfinder file manager integration for Grails Plugin provides static resources for elfinder file manager

How to use

Step 1: Include elfinder resource bundle in head section of page.

<r:require modules="elfinder" />

Optionally, you can include elfinder-theme module.


<r:require modules="elfinder, elfinder-theme" />

Step 2: Initialize elfinder file manager

Plugin provides a custom tag to initialize elfinder file manager instance.

Example

<elfinder:init id="elfinder-container-div" controller="elfinderConnector" />

Any of the client configuration option can be passed as attributes to the tag.

Example : Pass list of elabled commands to client

<g:set var="commands" value="['open', 'reload', 'home', 'up', 'back', 'forward', 'download', 'rm', 'rename', 'mkdir', 'mkfile', 'upload', 'info', 'resize', 'short']" />
<elfinder:init id="elfinder-container-div" controller="elfinderConnector" commands="${commands}" />     

Something went wrong with that request. Please try again.