As an editor,
I want a partial block in the CMS,
so I can use it for a collection of blocks I want to repeat on multiple pages.
In our typical setup each page is uniquely composed. If you want the same content on multiple pages, you'll need to add that content to every page. If you then want to make a change to that content you also have to do that in multiple places.
System design
In a previous project we've solved this as follows. There's a model, say Page Partial, with which you can compose part of a page using content blocks just like you would with a regular page (in that previous project this was called a Page Section Collection):
We then have a Partial Block which you can add to regular page and in which you can select or create a new Page Partial (in that previous project this was called a Shared Section):
Content models
Page Partial (model, not block)
title: string (single-line), required (only for internal use in CMS so you know what to select when picking an existing partial)
items: modular content
Partial Block
item: single link to Page Partial model, required
title: string (single-line), computed from item.title (nice to have)
User story
As an editor, I want a partial block in the CMS, so I can use it for a collection of blocks I want to repeat on multiple pages.
In our typical setup each page is uniquely composed. If you want the same content on multiple pages, you'll need to add that content to every page. If you then want to make a change to that content you also have to do that in multiple places.
System design
In a previous project we've solved this as follows. There's a model, say Page Partial, with which you can compose part of a page using content blocks just like you would with a regular page (in that previous project this was called a Page Section Collection):
We then have a Partial Block which you can add to regular page and in which you can select or create a new Page Partial (in that previous project this was called a Shared Section):
Content models
Page Partial (model, not block)
title
: string (single-line), required (only for internal use in CMS so you know what to select when picking an existing partial)items
: modular contentPartial Block
item
: single link to Page Partial model, requiredtitle
: string (single-line), computed fromitem.title
(nice to have)