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 products.cmfcontentpanels

How to install Products.CMFContentPanels

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install products.cmfcontentpanels
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.6b2 Available View build log
2.6b1 Available View build log
2.6a9dev Available View build log
2.6a8dev Available View build log
2.6a7 Available View build log
Windows (64-bit)
2.6b2 Available View build log
2.6b1 Available View build log
2.6a9dev Available View build log
2.6a8dev Available View build log
2.6a7 Available View build log
Mac OS X (10.5+)
2.6b2 Available View build log
2.6b1 Available View build log
2.6a9dev Available View build log
2.6a8dev Available View build log
2.6a7 Available View build log
Linux (32-bit)
2.6b2 Available View build log
2.6b1 Available View build log
2.6a9dev Available View build log
2.6a8dev Available View build log
2.6a7 Available View build log
Linux (64-bit)
2.6b2 Available View build log
2.6b1 Available View build log
2.6a9dev Available View build log
2.6a8dev Available View build log
2.6a7 Available View build log
 
License
GPL
Depended by
Lastest release
version 2.6b2 on Feb 17th, 2012

Overview

Products.CMFContentPanels is a Plone product to build manageable composite pages.

You can create new content object which is composed of other contents as configurable 'content panels'. You can change the layout, the panel skin and the content viewlet through the web. There is no need to use special content objects, you can just use the standard plone content and compose them

Requirements

Features

  • Support multi-page and multi-column
  • fully functional layout management, easy to use: move panels left/right/up/down
  • predefined viewlets for Document, Image, Folder, Topic, ZWiki Page, PloneChat, mxmDynamicPage.
  • each viewlet is configurable. it is quite easy to add new viewlets. You can add a RSS viewlet or a simplet text viewlet.
  • contentpanels content can be used as a portle thru collective.portlet.content.
  • support multi-rows: use 'tile' page layout mode, and each page becomes a new row!

Installation

To use this product, on a buildout based installation:

  1. Edit your buildout.cfg and add Products.CMFContentPanels to the list of eggs to install

    [buildout]
    ...
    eggs =
        Products.CMFContentPanels
    

After updating the configuration file you need to run the ''bin/buildout'', which will take care of updating your system.

Go to the 'Site Setup' page in the Plone interface and click on the 'Add/Remove Products' link.

Choose the product (check its checkbox) and click the 'Install' button.

Uninstall -- This can be done from the same management screen, but only if you installed it from the quick installer.

Extending Products.CMFContentPanels (For Developers)

New viewlets

Viewlet is a view of content which can be selected in contentpanels. Viewlet can be a zpt or a zpt macro. Viewlets are registered with CMF Action mechanism.

  1. Write a viewlet for your content. You can refer to stuff at 'CMFContentPanels/skins/cp_viewlets', where are default viewlets.

  2. All viewlets are registered in portal_contentpanels. You can also register viewlets using:

    from Products.CMFContentPanels import registerViewlets
    registerViewlets(you_viewlets)
    

    With this way, if you reinstall CMFContentPanels, your viewlets configuration will not lost.

How to make viewlets configurable
  1. Viewlet configuration form fields can be define in a macro with name: '(your_viewlet_macroname)_viewletconf'

    For example, 'viewlets_folder_recent.pt' has 2 macros: 'base_portlet' and 'base_portlet_viewletconf'

  2. The form fields will be showed and saved automatically

  3. Your viewlet can use the form variables in a dict named 'viewletOptions', for example 'viewletOptions["itemCount"]'

How to add new panel skins

You can define a new css wrapper to define a new panel skin:

  1. Customise contentpanels_skin.css.dtml, write your new css wrapper there
  2. Go to ZMI 'portal_contentpanels', in the properties view, add your new wrapper there.

Credits

Bug report and feature request

In the "Products.CMFContentPanels product area": http://plone.org/products/cmfcontentpanels you can report bugs and request new features.

Subscribe to package updates

Last updated Feb 17th, 2012

Download Stats

Last month:3

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.