Regions allow editors to determine where on a page a piece of content is shown and with what column layout. When you have created a View and Component Template, you can simply create new templates which reuse the same view but in a different region and using a different layout.
Procedure
- Create a copy of your original Component Template.
- Open the Component Template for editing.
- Edit the title to have a region name in square brackets, for example Special Offer [2-Column], to indicate to the Editor which region the content is placed in when it is added to the page.
- Select the Metadata Schema MVC Metadata.
- Update the Region View Name field to 2-Column:
- Add Components to the Page in using a column layout without having to duplicate any View code.
Results
In the following example, an offer has been added to the normal template and then 2 offers added with the new 2-Column template: