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 niteoweb.downloadcounter

How to install niteoweb.downloadcounter

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

Introduction

niteoweb.downloadcounter is a simple Plone add-on. It counts how many times has a default File content type been downloaded. It displays this value in a viewlet below File's title.

Installing

This package requires Plone 4.0 or later (tested on 4.0a4).

Installing without buildout

Install this package in either your system path packages or in the lib/python directory of your Zope instance. You can do this using either easy_install or via the setup.py script.

Installing with buildout

If you are using buildout to manage your instance installing niteoweb.downloadcounter is even simpler. You can install niteoweb.downloadcounter by adding it to the eggs line for your instance:

[instance]

System Message: ERROR/3 (<string>, line 28)

Inconsistent literal block quoting.

eggs = niteoweb.downloadcounter

After updating the configuration you need to run the ''bin/buildout'', which will take care of updating your system.

Go to the 'Site Setup' page in the Plone interface and click on the 'Add/Remove Products' link.

Choose the product (check its checkbox) and click the 'Install' button.

Changelog for niteoweb.downloadcounter

1.0 (2010-02-06)
  • Registers a viewlet that displays download count value on ATFile view page. [zupo]
  • Overrides at_download Script (Python) so that it also increases the download count value. [zupo]
  • Use archetypes.schemaextender to add an integer field 'download count' to ATFile. [zupo]
  • Initial release. [zupo]

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:2

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.