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-dev (unreleased)
Package created using templer []
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
File details
Details for the file collective.portlet.pythonscript-1.0.tar.gz
.
File metadata
- Download URL: collective.portlet.pythonscript-1.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 939075520ec07758da51c28204d3a32360eb234706679770c02377fea2971352 |
|
MD5 | 6cf127466d99e2f026a765287ff2e6f7 |
|
BLAKE2b-256 | 9c80d636def63ea819837ea290c177cb57b798fd5f500eb35839490573c21029 |