Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple glue plugin for using django-filebrowser in PyLucid
Shell Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
filebrowser_glue
AUTHORS
LICENSE
README.textile
update.sh

README.textile

PyLucid-FilebrowserGlue-plugin

description

Simple glue plugin for using django-filebrowser in PyLucid

install

get/install filebrowser

~$ mkdir pylucid_plugins
~$ cd pylucid_plugins
~/pylucid_plugins$ git clone git://github.com/wardi/django-filebrowser-no-grappelli.git
~/pylucid_plugins$ ln -s ~/pylucid_plugins/django-filebrowser-no-grappelli/filebrowser ~/PyLucid_env/src/pylucid/pylucid_project/external_plugins/

get/install glue plugin

~$ mkdir pylucid_plugins
~$ cd pylucid_plugins
~/pylucid_plugins$ git clone git://github.com/jedie/PyLucid-FilebrowserGlue-plugin.git
~/pylucid_plugins$ ln -s ~/pylucid_plugins/PyLucid-FilebrowserGlue-plugin/filebrowser_glue ~/PyLucid_env/src/pylucid/pylucid_project/external_plugins/

settings

At least you must add some filebrowser settings into your locale_settings.py!

e.g.:

FILEBROWSER_DIRECTORY = ""
FILEBROWSER_MEDIA_ROOT = MEDIA_ROOT
FILEBROWSER_MEDIA_URL = MEDIA_URL

See also, available settings: http://code.google.com/p/django-filebrowser/wiki/Settings

Note: You must restart the django process.

create PluginPage

Create a PyLucid PluginPage to hook thre glue plugin, goto:

  • PyLucid admin menu / create content / new plugin page

Use “external_plugins.filebrowser_glue” as app label
You should limit “PermitViewGroup” under PageTree Permissions!
e.g.: Create a new user group without adding users in this group. So only
the super can access the filebrowser:

  • Django admin site / Auth / Groups / Add

fast repo update

To made a fast repository update, you can run this simple shell script:

~$ cd /path/to/PyLucid-FilebrowserGlue-plugin
/path/to/PyLucid-FilebrowserGlue-plugin$ ./update.sh

the update script runs “git pull origin master” or “svn update”.

history

  • v0.1.0
    • first version

Backwards-incompatible changes

-

links

Something went wrong with that request. Please try again.