Skip to content
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

Enable regions with the same name to be repeated multiple times on a page #27

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

willprice76
Copy link
Contributor

This fixes issue #26

@rpannekoek
Copy link
Contributor

Can you please do a separate Pull Request for the separate issue (region route values)?

@willprice76
Copy link
Contributor Author

Sorry Rick - I got confused between my various branches and pull requests. I think everything is as it should be now...

…now duplicate regions are possible, this enables us to have, for example two consecutive 3-Column regions with different parameters (so separate view configuration)
}
else
{
Log.Debug("Region '{0}' is defined with different MVC data: [{1}] and [{2}]. Starting a new region.", regionName, currentRegion.MvcData, cpRegionMvcData);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that now we can have duplicate regions, a change in MVC data can simply trigger a new region of the same name. This ties in nicely with PR #29 which allows regions to be configurable via CT metadata. In this case we would want to start a new region if the region route values were different

@ablyth-building-blocks
Copy link

How likely is it that this will be merged and is it imminent?

@bkoopman
Copy link
Contributor

we are considering this for the DXA 1.6 release, but we have to check it against the plans for region support in SDL Web, since it does not make sense to include it now, with the possibility to remove it later if there will be different region support in the CME.

@rpannekoek
Copy link
Contributor

TSI-1945 (internal issue ID for tracking purposes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants