Skip to main content

Back-End Development

Hole@1x.jpg

Down The Sitecore Query Hole

I believe there is still use for the good old Query.SelectItems. You can do a lot with the content search API and you can do it a lot faster no doubt, but there are cases where you might still decide to use the good old Query. Anyway, even if only to have some fun exploring, […]

Abstract Code@1x.jpg

Sitecore Language Quirks

I am feeling good today and I invite you to read below and smile along with me. [su_note note_color=”#fafafa”]All tests pass as written on Sitecore 7.1 Update 1. Isolation provided by Sitecore.FakeDb[/su_note] The Stage There Is A Language With No Name A Language With No Name Has No Name Is There Really A Language With […]

Pipeline@1x.jpg

Using Event Queue as a Data Pipe

Remote Events Remote events have been part of Sitecore for quite a while. There are built-in events and you can also trigger your own. You queue them up on your CM instance and then receive and re-raise them on the other end of the tunnel – on all your CD instances. I won’t go into […]

Help@1x.jpg

Helping TDS some more

A few months ago I blogged about helping TDS clean up after file replacement. Today I learned that TDS needs some more help and decided to give it a hand. Built Files When TDS builds your TDS.Master project it goes through various steps to copy your solution files, do file replacements, perform XML config transforms, […]

Markers@1x.jpg

Chromes are sometimes fragile

Chromes Sitecore uses special markers – chromes – to tell apart placeholders, renderings, fields, and edit frames in the Page Editor. A chrome is server-generated and marks the beginning and the end of a potentially editable section. It also provides all the essential metadata for the client side scripts to rely on: The metadata for […]

Wet Leaf@1x.jpg

Injecting Resources into Sitecore Content and Page Editor

What do you do when you need extra resources (JavaScript, CSS) brought into your Content Editor and Page Editor experience? Maybe you have developed a custom field type that requires Google Maps API. Maybe many of your renderings use an external library or a client side helper of your own when in IsPageEditorEditing(). Whatever the […]

Youtube On A Laptop@1x.jpg

YouTube Video Picker. Part 4 – XML Control

[su_note note_color=”#fafafa”]Now available in the Sitecore Marketplace[/su_note] This will be the last post in the series about creating a custom field type with support for Content and Page Editor (see part1, part2, and part3) Basics There are two main pieces to an XML control: Markup. It will be a simplification but think of it as […]

Youtube On A Cellphone@1x.jpg

YouTube Video Picker. Part 3 – Sitecore Citizenship

[su_note note_color=”#fafafa”]Now available in the Sitecore Marketplace[/su_note] In part 1 I mentioned the requirements for our custom field to become a law abiding Sitecore citizen. In part 2 I built a complete prototype of the YouTube video picker dialog that we will later convert to the XML control. It’s time to apply for passport. TL;DR […]

Map With Locations@1x.jpg

Sitecore GeoIP: Helping The First Visit

GeoIP GeoIP via MaxMind is a great feature of Sitecore Analytics. Everything is built-in and all you need to do is inspect various attributes of the VisitorDataSet.VisitsRow, such as Region, Country, City, MetroCode, etc. Here’s how it works (simplified, of course). Sitecore runs UpdateGeoIpData as part of two Analytics pipelines: and In the Sitecore MVC […]

Ice On Water@1x.jpg

Solid, Liquid, Gas – Three states of Layout Details

I will take another break from the series about YouTube Video Picker Field (part 1, part 2) to talk some more about Layout Details. I briefly mentioned it when I blogged about cascading MVC renderings and now I want to dig in deeper. Solid The dehydrated state of Layout Details (a.k.a Presentation Details, a.k.a __Rendering) […]

Youtube Logo Abstract@1x.jpg

YouTube Video Picker. Part 2 – Prototype

[su_note note_color=”#fafafa”]Now available in the Sitecore Marketplace[/su_note] In part 1 I set to implement a custom field type for Sitecore that would seamlessly support both Content and Page Editor and would provide an interactive “picker” experience for selecting the value. In this part I will show you a working HTML prototoype of the picker dialog. […]

Cascading Waterfalls@1x.jpg

Cascading MVC renderings in Sitecore 7

I will make a short break in my series about YouTube Video Picker. This one is worth it. MVC Pipelines You have probably seen Alex Shyba’s post on how to cascade renderings in Sitecore 6.5. It’s a neat solution with a little twist to the insertRenderings pipeline (called as part of renderLayout). It’s great but […]

Load More