Sitecore 7, Glass Mapper and Language Fallback

306 views
Skip to first unread message

Ben Wyatt

unread,
Mar 18, 2014, 7:45:57 AM3/18/14
to glass...@googlegroups.com

Hi

I'm trying to get language fallback working with Sitecore 7.1 and Glass Mapper 3. I'm using both the Language Fallback Item Provider and the Partial Language Fallback modules available from the Sitecore Marketplace here: http://marketplace.sitecore.net/en/Modules/Language_Fallback.aspx.

I installed and configured the Partial Language Fallback module first (with some help from Elizabeth Spranzani's articles on the Sitecore website here: http://www.sitecore.net/Community/Best-Practice-Blogs/Elizabeth-Spranzani/Posts/2014/03/Fallback-Series-Post-2.aspx), and things seemed to work well with Glass.

I then installed the item fallback module and made some configuration changes suggested on Stack Overflow here: http://stackoverflow.com/questions/19692504/can-glass-mapper-v3-support-language-fallback-field-level-and-item-level. However, when I browse my non-default language website, I'm not seeing fallback for items with no language versions. Furthermore, when I create alternate language versions, I'm no longer getting the field-level partial fallback.

So I guess my question is whether both these fallback modules are compatible with Glass and Sitecore 7.1? This is also an MVC project.

Many thanks

Ben

Michael Edwards

unread,
Mar 21, 2014, 3:09:04 AM3/21/14
to glass...@googlegroups.com
Hi 


Kyle might be the best person to answer this if he has time. He has been doing a lot of work with Glass and language fallback.

Mike

Nimish Guru

unread,
Apr 10, 2014, 3:01:07 AM4/10/14
to glass...@googlegroups.com

Alex Washtell

unread,
Oct 23, 2014, 11:04:39 AM10/23/14
to glass...@googlegroups.com
I'm developing a Sitecore 7.2 MVC site and I am having the same issue as you, I believe. However, it only seems to be affecting items that are loaded through Glass using Sitecore queries, e.g.:

        [SitecoreQuery("./*[@@templateid='" + TemplateIds.PageHome + "']", IsRelative = true)]
        IPageHome HomePage { get; set; }

Does the SitecoreQuery method bypass the loading of Items that the fallback providers cater for?
Reply all
Reply to author
Forward
0 new messages