Handling Spaces In Field Names

  • 15 Mar 16

Yesterday on Slack the question of how to handle fields that contain a space came up on Slack. In this post we will look at the different ways we can handle this scenario.

Read More

The Curse of GlassCast

  • 01 Feb 16

.NET introduced the ability to create extension methods on existing classes. This feature allows us to easily add our own methods to exist classes without the need to create a sub-type.

Read More

Sitecore 8.1 Langugage Fallback

  • 11 Nov 15

Language Fallback has always been a little tricky when using Glass.Mapper.Sc because it was necessary to use the VersionCountDisabler class. This was required because Glass.Mapper checks the number of version of an item in the requested language and returns null if there are no versions. The VersionCountDisabled stops this check from happening and returns a model using the empty Item that Sitecore returns allowing you to map shared fields to the model.

Read More

Performing a Sitecore Upgrade

  • 10 Nov 15

Much has been said about upgrading Sitecore solutions with the two main approaches being:

Read More

New Glass Logos!!

  • 06 Nov 15

We have released today the new Glass logo which comes in 4 exciting colours:

Read More

Custom Sitecore DataViews

  • 16 Jul 15

If you have ever used Sitecore buckets you have probably wondered how it hides items in buckets from the Content Tree. In this blog post I will show you how you can make a similar feature in your solution.

Read More

V4 All The Things

V4 Released

  • 01 May 15

Today is a very big day in the history of Glass.Mapper.Sc with the release of V4! This is the biggest change to Glass.Mapper.Sc in the last 2 years and sees many great new features being added to the framework:

Read More

Glass.Mapper.Sc V4 Coming Soon!

  • 24 Apr 15

Glass.Mapper.Sc V3 has been around for nearly 2 years now and we have had over 26,000 downloads from Nuget which is amazing! We are now looking forward to the future and we wanted to give you an overview of the major changes that will come in V4. The new features were demonstrated at the Sitecore Users Virtual Group which you can watch below, more details about each feature can also be found further down the page.

Read More

Getting child items

  • 13 Apr 15

Glass.Mapper.Sc offers many different ways to get children and ways to filter those children, in this blog post we explore a few of these solutions.

Read More

Image Parameters In Glass.Mapper.Sc

  • 25 Mar 15

@RenderImage(x=>x.Image)

The html that is rendered will be:
<img src="/~/media/Images/38175_442041638932_1646261_n.ashx?h=225&w=300">

If however the developer decides to define a w parameter (see Sitecore Image Parameters) Glass will ignore the settings set by the content editor, e.g.:

Read More