This package adds a field to upload multiple files
Project description
Introduction
archetypes.multifile is a Plone Archetype Field which allows to upload multiple files.
Usage
Install package by adding the egg into your buildout cfg:
[instance] ... eggs = archetypes.multifile zcml = archetypes.multifile
Rerun buildout and start the instance
Install via quickinstaller
Use it in your custom Archetypes content type:
from archetypes.multifile.MultiFileField import MultiFileField from archetypes.multifile.MultiFileWidget import MultiFileWidget MultiFileField('file', primary=True, languageIndependent=True, storage = AnnotationStorage(migrate=True), widget = MultiFileWidget( description = "Select the file to be added by clicking the 'Browse' button.", label= "File Some Text", show_content_type = False,)),
TODO
Add tests
Credits
This package was built upon a MultiFile product by
Partecs Participatory Technologies http://www.partecs.com
Eggified by Matous Hora http://dms4u.cz
Indexation feature by Quadra Informatique - Jonathan Riboux http://www.quadra-informatique.fr
Changelog
1.4 - (2010-04-16)
Added french translation
The field is now indexable in portal_catalog (each file text datas are extracted using portal_transform and concatenated)
[Jonathan Riboux - Quadra Informatique]
1.3 - (2010-01-06)
Moved helping input into upload_file macro - fixes widget when creating a new object [Cleber J Santos]
Added pt_BR translation [Matous Hora]
1.2 - (2009-10-23)
Added Danish translation [Matous Hora]
1.0 - (2009-10-20)
Initial release [Matous Hora]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for archetypes.multifile-1.4-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73d850090e012528100c61199f328030ce819c88b513cc126003efb451f5da4 |
|
MD5 | 7351320f9110936b5e15232e31e33dfd |
|
BLAKE2b-256 | 9eb333557d65eb6d65b766da2ea2c691f88d480e49ba02df7d27b08d49aa7b0d |