Skip to main content

Counts how many time was a File content type downloaded and displays this number on File view page.

Project description

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]
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]

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

niteoweb.downloadcounter-1.0.tar.gz (12.5 kB view details)

Uploaded Source

File details

Details for the file niteoweb.downloadcounter-1.0.tar.gz.

File metadata

File hashes

Hashes for niteoweb.downloadcounter-1.0.tar.gz
Algorithm Hash digest
SHA256 1bfd71a1e53ef1474f03f1d5ffefa353ef78d46b84e5bb4a3d208aca0abd3e25
MD5 3949da37eccfcb053bda4a087489a7ee
BLAKE2b-256 09e06e66aa51bfe509aeb6213530743b239121eef8890352d47509ee9f73f511

See more details on using hashes here.

Supported by

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