Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install archetypes.multifile

How to install archetypes.multifile

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install archetypes.multifile
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.5 Available View build log
1.4 Available View build log
Windows (64-bit)
1.5 Available View build log
1.4 Available View build log
Mac OS X (10.5+)
1.5 Available View build log
1.4 Available View build log
Linux (32-bit)
1.5 Available View build log
1.4 Available View build log
Linux (64-bit)
1.5 Available View build log
1.4 Available View build log
 
Author
License
GPL
Dependencies
Lastest release
version 1.5 on Jan 5th, 2011

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:

    System Message: WARNING/2 (<string>, line 9)

    Literal block expected; none found.

[instance] ... eggs = archetypes.multifile zcml = archetypes.multifile

  1. Rerun buildout and start the instance

  2. Install via quickinstaller

  3. Use it in your custom Archetypes content type:

    System Message: WARNING/2 (<string>, line 22)

    Literal block expected; none found.

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

System Message: WARNING/2 (<string>, line 69)

Bullet list ends without a blank line; unexpected unindent.

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]

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.