#6: Merge with, rather than overriding, Plone's default portlets

Contents
  1. Motivation
  2. Assumptions
  3. Proposal
  4. Implementation
  5. Risks
  6. Participants
by Justin Ryan last modified Jan 22, 2010 06:27 AM

Proposed by
wiggy
Seconded by
bitmonk
Proposal type
User interface
Assigned to release
Repository branch
trunk
State
draft

Motivation

Currently, Quills weblogs entirely override the left_slots and right_slots, making it tedious to mix in Quills' portlets with whatever is available on the rest of the site when desired.

Assumptions

The goal is for Quills not to impose a preference or policy decision as part of the core application design, rather it should be adaptable to various needs based on its' stated goal of serving single users as well as large multi-user, multi-blog environments.

Proposal

We should be able to push our portlets into the slots without overriding entirely, and to control this behaviour with a per-blog setting.

Implementation

We should be able to use a ComputedAttribute for each of left_slots and right_slots for a weblog, and optionally inherit values from our container.

Risks

Perhaps there are performance or maintainability considerations.

Participants

Tim Hicks

Justin Ryan

Comments (0)