Skip to content

hhog-tkamin/sitecore-field-fallback

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hedgehog Development

Sitecore Field Fallback Module

Field Fallback is the ability for a field's value to come from somewhere other than the field itself, a clones source, or its standard values. Various fallback scenarios have been provided in this solution with the ability to customize it as needed. The supplied scenarios are:

  • Ancestor Fallback - A field falls back to the value of its nearest set ancestor
  • Lateral Fallback - A field falls back to the value of another field, or chain of fields
  • Default Fallback - A field falls back to a text value or a token that is transformed at render time (not item creation time!)
  • Language fallback - This is based on Alex Shyba's Language Fallback module

The concept for this module came about when Alex Shyba released his Language Fallback module. While the initial prototype, written by Elena Zlateva, was heavily based on Alex' work there isn't too much remaining in the FieldFallback.Kernel project. However, to support language fallback while using the Field Fallback module we have provided Partial Language Fallback in the Processors.Globalization project. This code is still very much original to Alex. Charles Turano also provided some much appreciated help around performance tuning and getting this to be as fast as possible.

Blog post about this feature: http://seankearney.com/post/Sitecore-Content-Fallback-and-the-Field-Fallback-Module

Sitecore Marketplace URL: https://marketplace.sitecore.net/en/Modules/Field_Fallback.aspx

Download packages

https://github.com/HedgehogDevelopment/sitecore-field-fallback/tree/master/release

Sean Kearney http://seankearney.com/ @seankearney

Packages

No packages published

Languages

  • C# 94.9%
  • Classic ASP 3.0%
  • XSLT 2.1%