cubicweb-folder 1.8.1
folder component for the CubicWeb framework
Summary
-------
The `folder` cube allows to create a tree of categories and classify entities
as you're used to do in a file-system.
Usage
-----
Define the relation `filed_under` in the schema, object must
contain all entities which can be classified in a folder.
.. sourcecode:: python
class missing_filed_under(RelationDefinition):
name = 'filed_under'
subject = ('ExtProject', 'Project', 'Card', 'File')
object = 'Folder'
The `FoldersBox` shows the folders hierarchy as a tree view. It's not visible by
default (user can activate it using their preferences) but you can activate it
by default using the code snippet below:
.. sourcecode:: python
from cubes.folder.views import FoldersBox
# make the folders box visible by default
FoldersBox.visible = True
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| cubicweb-folder-1.8.1.tar.gz (md5) | Source | 2011-01-24 | 9KB | 314 | |
- Author: Logilab
- Home Page: http://www.cubicweb.org/project/cubicweb-folder
- License: LGPL
- Package Index Owner: logilab
- DOAP record: cubicweb-folder-1.8.1.xml
