Skip to content

Split PagePartialBlock into component to group content and component to reuse content #256

Description

@jurgenbelien

The current PagePartialBlock does two things:

  • It makes it possible to reuse content across a site via a Page Partial
  • It makes it possible to render content with grouping, ie. Tabs, Accordion, etc.

Currently, this means that, to easily group content, it has to be grouped inside a PagePartial, which might overload the PagePartial collection.

Solution

  • Create a block called GroupingBlock*. A GroupingBlock has items (Modular Content Multiple Blocks of type GroupingBlockItem) and a layout (String, one of tabs, accordion, etc... The options are those now found in PagePartialBlock)
  • Create a block called GroupingBlockItem with title and blocks (Modular Content Multiple Blocks).
  • Update PagePartialBlock to remove the layout, and change items to partial (Single Link).

*) I'm open to other names.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions