Metadata-Version: 1.0
Name: collective.portlet.collectionmultiview
Version: 1.0
Summary: A collection portlet product which supports multiple views
Home-page: http://www.inigo-tech.com/
Author: Izhar Firdaus
Author-email: izhar@inigo-tech.com
License: GPLv2+
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):
        
        template = ViewPageTemplateFile('path/to/template.pt')
        
        ZCML::
        
        <configure
        xmlns="http://namespaces.zope.org/zope">
        
        <adapter name="mycustomrenderer"
        factory=".package.MyCustomRenderer"/>
        
        </configure>
        
        Changelog
        =========
        
        0.1 (2009-12-31)
        ----------------
        
        * Initial release
        
Keywords: plone portlet inigo collection multi view
Platform: UNKNOWN
Classifier: Framework :: Plone
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
