Does anyone have experience in setting the __Renderings
field in Sitecore to not be shared? We are building a multi site-multi language solution and would need the (sub)layouts to be different in different languages. For example, the English language site could have a sublayout that the Swedish version of the same item does not have and all presentation components does not always have the same data source for different languages.
A somewhat easy solution to this would be to simply uncheck "shared" on __Renderings
field in the /sitecore/templates/System/Templates/Sections/Layout template
, but does this have any other consequences? Or is there a better way to handle this requirement?
The shared layout – stores the presentation details that are shared by all the versions of the item in every language. These presentation details are based on the standard values of the template that the item is based on.
__Renderings – a shared field where you specify the common layout for all languages and versions of the item.
My own preference when needing to swap around visual elements based on something like language, country of origin, etc. is to use Sitecore's personalization rules editing to swap data sources and alter the presentation in that manner. It doesn't involve changing Sitecore's default behaviour and allows you to tap into built-in Sitecore functionality.
If your different 'sublayouts' are actually just the datasources being pulled in by various personalization rules, you can configure all of this with OMS/DMS and rely on the Sitecore engine to present the components you need given the current state. For performance, going with the most recent version of DMS is probably best (I believe 6.5 Update 5 is now the recommended release).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With