Category Archives: it

Access parent DataItem in nested repeater

Every once in a while a presentation comes along that requires multiple nested repeaters. The majority of times I’ve encountered this, there is something special that needs to be done to the last item in the inner repeater. With one … Continue reading

Posted in it | Tagged , , | Leave a comment

Removing Sitecore preview ribbon language

When previewing a Sitecore item, there’s an option in the ribbon to change the language. For whatever reason, Japanese was a given option in the Sitecore installation I was working on. The only language needed for the Sitecore project was … Continue reading

Posted in it | Tagged | Leave a comment

View currently logged in users in Sitecore

Depending on how many concurrent sessions your Sitecore license allows, you may or may not have seen the message: There are too many users using the system at this time. From this page, clicking on “Kick User” will display a list … Continue reading

Posted in it | Tagged | Leave a comment

Passing properties into Sitecore sublayouts

I’ve run into multiple situations where I’ve wanted to reuse most of a Sitecore sublayout/control with only one or two differences in the control’s properties. For example,  this has happened when I have chunks of markup that are entirely identical … Continue reading

Posted in it | Tagged , , , , | 2 Comments

Sitecore FieldRenderer class attribute

I spent hours trying to figure out how to set the class attribute of images rendered with the Sitecore FieldRenderer. Unfortunately, the CssClass attribute does not work on the FieldRenderer control as it does on the Image WebControl. Long after … Continue reading

Posted in it | Tagged , , , | Leave a comment

Sitecore current date in preview mode

To access the currently selected DateTime in the content editor’s preview mode, instead of checking the query string, use

Also, be sure to check if the page is in preview mode first. In my case, I had a presentation … Continue reading

Posted in it | Tagged , , , | Leave a comment

A little effort could do wonders

I checked out the New Orleans Jazz & Heritage Festival website to look up this year’s lineup. I was excited to see who was playing each day. To my disappointment, when I navigated to the daily lineup pages, the first … Continue reading

Posted in it | Tagged , , | Leave a comment

A gem

I stumbled upon some puzzling code the other day. It makes me wonder, what sort of direction is your code going if this is what you end up with? Unnecessary code omitted (unlike the snippet) to increase clarity.

Posted in it | Tagged , , | Leave a comment

Vector web icons

I saw a post over at “Smashing Magazine” yesterday about these sharp vector web icons. They’re 100% free for both commercial and personal use. Though I’m no designer, I think they look great—simple, clean, and minimalist. I’ll likely be making use of them … Continue reading

Posted in it | Tagged | Leave a comment

Visual Studio keyboard shortcuts amuck

If you notice one day your Visual Studio 2010 keyboard shortcuts no longer work, double check your keyboard mapping scheme (Tools > Options > Environment > Keyboard). While I was building an app to deploy to Azure, it took me … Continue reading

Posted in it | Tagged , | Leave a comment