Other settings

Below is a list of project settings defined by yawd-elfinder.

Note

You can override all of them in your project’s settings file.

ELFINDER_JS_URLS

Default:

{
   'a_jquery' : '//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
   'b_jqueryui' : '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/jquery-ui.min.js',
   'c_elfinder' : '%selfinder/js/elfinder.full.js' % settings.STATIC_URL
}

A dictionary containing the location of javascript files needed by yawd-elfinder.

Hint

Say, for any example, that your project already containts a copy of jquery or query. You could use these settings to avoid loading the google-hosted versions and use your own copies.

ELFINDER_CSS_URLS

Default:

{
 'a_jqueryui' : '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/themes/smoothness/jquery-ui.css',
 'b_elfinder' : '%selfinder/css/elfinder.min.css' % settings.STATIC_URL
}

A dictionary containing the css files included by yawd-elfinder.

ELFINDER_LANGUAGES_ROOT_URL

Default:: '%selfinder/js/i18n/' % settings.STATIC_URL

The root url under which elfinder translation files are available. You can override this in your project’s root settings

ELFINDER_LANGUAGES

Default::
[‘ar’, ‘bg’, ‘ca’, ‘cs’, ‘de’, ‘el’, ‘es’, ‘fa’, ‘fr’, ‘hu’, ‘it’, ‘jp’, ‘ko’, ‘nl’, ‘no’, ‘pl’, ‘pt_BR’, ‘ru’, ‘tr’, ‘zh_CN’]

A list of the available locales. For each one of these locales, a valid elfinder translation file must exist under the ELFINDER_LANGUAGES_ROOT_URL url. You can override this setting in your project’s main setting file.