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.
The current
PagePartialBlockdoes two things:Tabs,Accordion, etc.Currently, this means that, to easily group content, it has to be grouped inside a
PagePartial, which might overload thePagePartialcollection.Solution
GroupingBlock*. AGroupingBlockhasitems(Modular Content Multiple Blocks of typeGroupingBlockItem) and alayout(String, one oftabs,accordion, etc... The options are those now found inPagePartialBlock)GroupingBlockItemwithtitleandblocks(Modular Content Multiple Blocks).PagePartialBlockto remove thelayout, and changeitemstopartial(Single Link).*) I'm open to other names.