Skip to main content

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

  1. Install package by adding the egg into your buildout cfg:

    [instance]
    ...
    eggs =
            archetypes.multifile
    zcml =
            archetypes.multifile
  2. Rerun buildout and start the instance

  3. Install via quickinstaller

  4. 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

Changelog

1.2 - (2009-10-23)

Added Danish translation

1.0 - (2009-10-20)

  • Initial release

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

archetypes.multifile-1.2.zip (27.6 kB view details)

Uploaded Source

File details

Details for the file archetypes.multifile-1.2.zip.

File metadata

File hashes

Hashes for archetypes.multifile-1.2.zip
Algorithm Hash digest
SHA256 429671dbdb3967747c00dd04da9d257754385c06becaf76cf9a3b723d63565aa
MD5 82e6f83ecfeabcf504c70d7028dd7357
BLAKE2b-256 cb103ccf8c3ddb83b819421a3db897114d048297c86f95c0140b2ccc5e8e1139

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page