Ticket #2066 (closed defect: fixed)

Opened 10 years ago

Last modified 8 years ago

Supplement clusters with layout exclusion option

Reported by: gracinet Owned by: madarche
Priority: P2 Milestone: CPS 3.5.1
Component: CPSDocument Version: TRUNK
Severity: normal Keywords:


Layout clusters introduced a nice flexibility, allowing to call a given cluster (e.g, 'metadata' or 'listing') on a bunch of documents with no need to introspect the type. That being said, if one just wants to exclude a given layout from a rendering, one has no option than defining a cluster for *each document type* that may be relevent to that rendering.

This is cumbersome, and besides cannot be done extensively in any product, since it would not impact documents defined in other products...

Use case: for #2059, we need to display the front page, without the 'common' layout. I have a long-standing patch for this in one of my installations.

Behaviour of the render method of FlexibleTypeInformation would be that the actually displayed layouts are the ones from the required cluster (or default list of layouts), except those from the exclusion list.

Trunk only

Change History

comment:1 Changed 8 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from CPS 3.5.3 to CPS 3.5.1

Has been done with #2059 (CPS 3.5.1)

Note: See TracTickets for help on using tickets.