-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component Presentations using templates from the same region are always collapsed into a single region #26
Comments
If you want to have two Regions which use the 2-Column Region View, you should ensure that you define two Regions with distinct names. For that purpose, we introduced a Region Name metadata field next to Region View Name in DXA 1.2. |
This sounds like I would need to duplicate all my component templates - so not an ideal solution - or do I misunderstand? |
No, that's correct; you will need to have CTs for each distinct Region; the CTs don't represent much more than the MVC metadata. In general, the currently solution of using CT metadata to indicate Region is not ideal, but a necessary evil until we get full Region support in SDL Web itself (which might happen this year :-)) |
I created a PR with what I think is a better solution. #27 |
Second this as an improvement. Would be a big improvement if this functionality was enabled |
+1 |
2 similar comments
+1 |
+1 |
+1 (component presentation metadata would be the best solution) |
TSI-1945 (internal issue ID for tracking purposes) |
+1 |
If I have a page with the following CPS:
Teaser (2-column)
Teaser (2-column)
Article
Teaser (2-column)
Teaser (2-column)
When the page is rendered, the 2 groups of 2-col teasers will be collapsed into a single 2-col region, whereas what I expected, as an editor is for the article to appear between two separate 2-col regions.
The text was updated successfully, but these errors were encountered: