collective.portlet.collectionmultiview
A collection portlet product which supports multiple views
Project Description
Introduction
The collectionmultiview portlet is a collection portlet which supports multiple view modes. It inherits the built-in plone.portlet.collection and extend it with view adapters support.
Writing additional views
Creating an additional view is as simple as writing a class which inherits from CollectionMultiViewBaseRenderer, and register it as a named adapter
Sample code:
from collective.portlet.collectionmultiview.renderers.base import (
CollectionMultiViewBaseRenderer)
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
class MyCustomRenderer(CollectionMultiViewBaseRenderer):
__name__ = 'My Custom Renderer'
template = ViewPageTemplateFile('path/to/template.pt')
ZCML:
<configure
xmlns="http://namespaces.zope.org/zope">
<adapter name="mycustomrenderer"
factory=".package.MyCustomRenderer"/>
</configure>
Changelog
1.1.2 (2011-06-06)
- Plone 4.1 compat [aclark]
1.1.1 (2011-03-31)
- bugfix release. fixed a bug with the renderer selector using title as value
instead of id
1.1 (2011-03-27)
- Plone4 compatibility
- Renderers now may have a human readable __name__
- Removed GalleryRenderer as it is broken anyway
- Hide unnecessary fields from the base Plone collection portlet.
1.0 (unreleased)
- fix permission used for portlet [vangheem]
0.1 (2009-12-31)
- Initial release
Current Release
collective.portlet.collectionmultiview 1.1.2
Released Jun 06, 2011
-
Get
collective.portlet.collectionmultiview
for
all platforms
- collective.portlet.collectionmultiview-1.1.2.zip
- If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.
All Releases
| Version | Released | Description | Compatibility | Licenses | Status |
|---|---|---|---|---|---|
| 1.1.2 | Jun 06, 2011 | More about this release… | GPLv2+ | final | |
| 1.1.1 | Mar 31, 2011 | More about this release… | GPLv2+ | final | |
| 1.1 | Mar 27, 2011 | Plone4 compatibility release, fixed some minor bugs, hide unnecessary fields from the addform. More about this release… |
Plone 4
Plone 3
|
GPL | final |

