Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<pipelines>
<httpRequestBegin>
<processor type="Helix.Skeleton.Feature.CustomLayoutResolver.Processors.CustomLayoutResolver, Helix.Skeleton.Feature.CustomLayoutResolver"
patch:after="processor[@type='Sitecore.Pipelines.HttpRequest.LayoutResolver, Sitecore.Kernel']" resolve="true"/>
</httpRequestBegin>
<mvc.buildPageDefinition>
<processor type="Helix.Skeleton.Feature.CustomLayoutResolver.Processors.CustomProcessXmlBasedLayoutDefinition, Helix.Skeleton.Feature.CustomLayoutResolver"
patch:instead="processor[@type='Sitecore.Mvc.Pipelines.Response.BuildPageDefinition.ProcessXmlBasedLayoutDefinition, Sitecore.Mvc']" resolve="true"/>
</mvc.buildPageDefinition>
</pipelines>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment