Skip to main content

CMFContentPanels is a plone portlets product to build composite pages

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.CMFContentPanels-2.6a2dev.tar.gz (104.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Products.CMFContentPanels-2.6a2dev-py2.4.egg (178.8 kB view details)

Uploaded Egg

File details

Details for the file Products.CMFContentPanels-2.6a2dev.tar.gz.

File metadata

File hashes

Hashes for Products.CMFContentPanels-2.6a2dev.tar.gz
Algorithm Hash digest
SHA256 c0bfeba4b9574f77865c8aee96952229984aeefeca7be7eef76fbaccf85f4496
MD5 2c84d98e2b61ea57cd59f98343da97a5
BLAKE2b-256 62165733f3b8a634bdeb765959a34b0d4e7b10978a4fb344d6886775492c7863

See more details on using hashes here.

File details

Details for the file Products.CMFContentPanels-2.6a2dev-py2.4.egg.

File metadata

File hashes

Hashes for Products.CMFContentPanels-2.6a2dev-py2.4.egg
Algorithm Hash digest
SHA256 9b8c3b44cb814ccc35c7c70868400181767762ae88100b9c648edd787b0314db
MD5 153510f0d80e4d95eb4290355e22bf35
BLAKE2b-256 03dbaec1ebc57c0e261401bfa6cb497133204152d1fc5bfca978804c5a22656a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page