CMFContentPanels is a plone portlets product to build composite pages
Project description
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
Plone 4.x (http://plone.org/products/plone)
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:
Edit your buildout.cfg and add Products.CMFContentPanels to the list of eggs to install
[buildout] ... eggs = Products.CMFContentPanelsAfter 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.
Write a viewlet for your content. You can refer to stuff at ‘CMFContentPanels/skins/cp_viewlets’, where are default viewlets.
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
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’
The form fields will be showed and saved automatically
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:
Customise contentpanels_skin.css.dtml, write your new css wrapper there
Go to ZMI ‘portal_contentpanels’, in the properties view, add your new wrapper there.
Credits
- Simples Consultoria <http://www.simplesconsultoria.com.br/> for
sponsoring the eggfication of this product.
“ZopeChina.com”:http://www.zopechina.com, a leading Zope Service provider in China. ZopeChina.com runs the biggest Chinese Zope community in China - “CZUG.org”:http://czug.org (China Zope User Group). We are trying to make Zope/Plone works better for Chinese people.
ausum’s “CMFPortlets”:http://www.zope.org/Members/ausum/CMFPortlets , many idea comes from CMFPortlets. Thanks!
The Rounded panels technique is from Denis Mishunoff’s how-to: http://plone.org/documentation/how-to/portlets-with-rounded-corners-and-shadow
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Products.CMFContentPanels-2.6b2.tar.gz
.
File metadata
- Download URL: Products.CMFContentPanels-2.6b2.tar.gz
- Upload date:
- Size: 103.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c4c7460efc3509cb6c01c7ef0a20c67f74aed2fb298c7185fce2a6e12969d6 |
|
MD5 | 98a73bc34e339bda3f32175cf2071349 |
|
BLAKE2b-256 | 0b6e845dcd1e4976449d138ba61e959a97b671abb7e82433ed3083ac0c9e1d13 |