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.multifileRerun 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
KNOWN BUGS
Passes required validation even if no file is attached
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.5 - (2010-10-20)
Fixed compatibility with Plone4 - safe tabindex [Yves Cadour]
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]
Metadata
Release files for archetypes.multifile 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| archetypes.multifile-1.5.zip | 34.2 kB | Without provenance | Details for archetypes.multifile-1.5.zip |
Release files / archetypes.multifile-1.5.zip
| Download URL | archetypes.multifile-1.5.zip |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
016f204943a71066b1ec63d3b970fa86a76d6f4ad99332a608fc1bcd3847b6f3
|
|
BLAKE2b-256 checksum How to use checksums |
8ca9cd9cedb1fa4fd5ce124a531848eea3384725757bbe12f8894070977f485a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for archetypes.multifile 1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.