Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Overview

Products.CMFContentPanels is a repackaging of CMFContentPanels a Plone portlets 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.

This repackaging is intended to support projects migrating from earlier versions of Plone (2.x) to newer ones (3.1.x).

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 a plone portlet and show on the left/right column.

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

Release files for Products.CMFContentPanels 2.6a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Products.CMFContentPanels 2.6a1
File Size Uploaded
Products.CMFContentPanels-2.6a1.tar.gz 100.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Products.CMFContentPanels 2.6a1
File Interpreter ABI Platform
Products.CMFContentPanels-2.6a1-py2.4.egg Legacy Egg format - - Details

Total release size: 277.5 kB

Release files / Products.CMFContentPanels-2.6a1.tar.gz

Download URL Products.CMFContentPanels-2.6a1.tar.gz
Size 100.4 kB
Tags Source
SHA-256 checksum
How to use checksums
52e99d8f6853903beabcc9730075ebc007095e8c7eda5b720a4c1770a2c7f9d7
BLAKE2b-256 checksum
How to use checksums
ed3ac51bb6224ef0d2b335fb59ef66c43fcd94cbe5fe08ded865b2f3b265b6b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Products.CMFContentPanels-2.6a1-py2.4.egg

Download URL Products.CMFContentPanels-2.6a1-py2.4.egg
Size 177.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
b650a93bf1b8b22aad7f3d23731b4fd37fe6ab66dc06f7816f5087fd8c669265
BLAKE2b-256 checksum
How to use checksums
85133ccd5a70295a7e6c53450ee230753283841764be67c36f233767cb583832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page