Personal tools
You are here: Home Products Plone Roadmap #188: Configurable content views
Document Actions

#188: Configurable content views

Contents
  1. Motivation
  2. Proposal
  3. Implementation
by Malthe Borch last modified June 30, 2007 - 11:36
In order for Plone to continue down the path of truly separating content and presentation, it makes sense to support configurable content views. An example of a content-type that mixes the two is the Smart Folder where you have fields that are only related to the presentation. We should support a way of separating such configuration options from the content objects.
Proposed by
Malthe Borch
Proposal type
Architecture
State
draft

Motivation

The motivation for this PLIP is to facilitate true separation of content and presentation by supporting configurable content views.

Consider a collection of objects as a content object. The object will probably have a title, a description and a reference field. There are quite a few ways of displaying this collection if we support looking into the referenced objects. If the objects have images, a configuration option on the view could decide whether to display that image.

Having multiple views via CMFDynamicViewFTI does not solve this problem, although it's a step in the right direction.

Proposal

This PLIP naturally only applies to content views that are directly connected to a view class.

On the view class side, a configuration view needs to be provided, either by way of formlib or a similar library or through a custom template.

The configuration itself would need to be annotated onto the underlying content object.

On the UI-side, a 'configure' option would need to be added to the display menu for views provided a certain interface.

Implementation

To do.


For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by