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 collective.portlet.pythonscript

How to install collective.portlet.pythonscript

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.portlet.pythonscript
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
1.2 Available View build log
Web
 
License
GPLv2
Lastest release
version 1.2 on Jan 9th, 2014

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
  • radekj

Changelog

1.2 (August 02, 2013)
  • Added possibility to pass additional properties to be rendered in the portlet [radekj]
1.1 (June 28, 2013)
  • Possibility to register custom templates for rendering the python script's results [kurazu]
1.0.1 (June 25, 2013)
  • Not displaying the portlet at all when there's no results items returned [radekj]

Subscribe to package updates

Last updated Jan 9th, 2014

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.