Marking regions on a Web page
By marking regions on a Web page, you make explicit to the User Interface which combinations of a Schema and a Component Template are allowed in such regions. This affects where new Component Presentations are added, and how users can move Component Presentations around on the Web page.
About this task
For this functionality to work properly, your Page Template must meet the following requirements:
- The Page Template must contain logic that groups Component Presentations on the Web page based on Component Presentation type. A Component Presentation type is here defined as a combination of a Schema and a Component Template. If two Component Presentations are of the same Component Presentation type, the Page Template must place them in the same region.
- The Page Template must render each such group inside a distinct HTML container tag (typically
<div>) on the published Web page, which we here call a region.
If your Page Template does not meet these requirements, do not perform this task. Refer to the documentation about templating for SDL Tridion Sites to learn more about organizing Component Presentations by Component Presentation type in your Page Template.