jone / collective.limitfilesizepanel

Configure files and images size limit through Plone control panel

Home Page:http://plone.org/products/collective.limitfilesizepanel/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Plone Archetypes framework already gives you a max size validation for files and images, but the default configuration has some drawbacks:

This product will let you customize this validation from Plone user interface.

How to use it

Just add the product to the buildout and install it in the site you want to use.

A new "Limit file size settings" option will be added in the control panel, where you can change the File and Image attachments.

No users will be able to upload files that exceed the limit.

Validator bypass

If some users need to bypass the validation and upload some larger files, there is a new permission "collective.limitfilesizepanel: Manage limit file size settings" that allows to do this.

You only need to set this permission to some roles, and they'll have no upload limits.

Dependencies

This products has been tested on:

  • Plone 3.3
  • Plone 4.2

It's based on plone.app.registry__ that it not part of Plone on 3.3 version. You need to be sure that a compatible version is used (in my experience: use version 1.0b1__).

__ http://pypi.python.org/pypi/plone.app.registry __ http://pypi.python.org/pypi/plone.app.registry/1.0b1

Credits

Developed with the support of Regione Emilia Romagna__; Regione Emilia Romagna supports the PloneGov initiative__.

__ http://www.regione.emilia-romagna.it/ __ http://www.plonegov.it/

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

About

Configure files and images size limit through Plone control panel

http://plone.org/products/collective.limitfilesizepanel/


Languages

Language:Python 98.7%Language:Shell 1.3%