Skip to main content

Portlet rendering collection of items returned by customizable Python scripts

Project description

collective.portlet.pythonscript
===============================

This add-on product adds ability to use 'Script (Python)' objects as source
of items to display in a 'Python Script Portlet'.

Usage
=====
Manager adds 'Script (Python)' objects to the Plone site. The scripts need to
return an iterable of portal catalog brains (or objects adaptable to
IPythonScriptPortletItem).

Manager goes into control panel and in 'Scriptable Portlets' selects option to
rescan site for 'Script (Python)' objects. Now the control panel section should
list the added scripts.

Manager enables scripts for use in portlets.

User edits portlets assigned in any place in the site. He can add new
'Python Script' portlet. Each portlet has a title and script used to render results.
User can limit number of shown results.

Site displays results of the query inside the portlet.

Contributors
============

- Tomasz Maćkowiak, Original Author

Changelog
=========

1.0.1 (June 25, 2013)
--------------------

- Not displaying the portlet at all when there's no results
items returned
[radekj]

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

collective.portlet.pythonscript-1.0.1.tar.gz (22.8 kB view details)

Uploaded Source

File details

Details for the file collective.portlet.pythonscript-1.0.1.tar.gz.

File metadata

File hashes

Hashes for collective.portlet.pythonscript-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e94927f2066a9aa2640e465626328d264abfedf15b09289c07bba1c71253cd29
MD5 7cb9a4996a7d667abb7b6345bcccbeb0
BLAKE2b-256 59690d3f90bef6781857157f9e14c848ac55e73b8cfc84110d372f5c9994358d

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