Sitecore

Sitecore Managed Sites as Virtual Folders

Learn how to properly configure a Sitecore site with a virtual folder

Apr 26, 2013     No Comments
Read More
Sitecore

Sitecore Item and Field Names

Learn all about Sitecore item and display names and how you can alter field names.

Feb 7, 2013     2 Comments
Read More
Sitecore

Sitecore Avanced Database Crawler Occasionally Provides Null Results

Learn how to avoid getting null results from the Advanced Database Crawler with Sitecore

Jan 20, 2013     2 Comments
Read More
Sitecore

Sitecore Search by Site with the Advanced Database Crawler

Learn two ways to use the Sitecore Advanced Database Crawler to filter search results by site.

Dec 17, 2012     2 Comments
Read More
Sitecore

Sitecore Packager Error: Root Element is Missing

Lear how to fix the Sitecore packager error "Package generation failed: Root element is missing"

Jun 18, 2012     1 Comment
Read More
Sitecore

Custom Sitecore Clones Listing Ribbon Button

This blog post is about a recent customization I made to the Sitecore content editor to easily show a listing of clones of an item.

Jun 11, 2012     3 Comments
Read More
Sitecore

Sitecore Front-End Development Best Practices

Learn some front-end development best practices that can make Sitecore development easier and more flexible.

May 31, 2012     6 Comments
Read More
Sitecore

Getting the Sitecore Context Language Iso Code

Learn how to get the Iso code for the context language so you can update a language selector tool to show the current language.

May 29, 2012     No Comments
Read More
Sitecore

Sitecore Gutter Icon to Indicate an Item is a Page

Learn how to implement a custom Sitecore gutter icon to indicate if the data item is a page.

Mar 7, 2012     No Comments
Read More
Sitecore

Defensive Coding for Sitecore

Learn about my favorite defensive coding patterns and practices for Sitecore development.

Feb 26, 2012     1 Comment
Read More
Sitecore

Easily Sanitize a Sitecore Item Name in C#

Learn how to easily sanitize a Sitecore item name when programmatically creating it.

Jan 23, 2012     3 Comments
Read More
Sitecore

Programmatically Add Controls to the HTML Head in Sitecore

Learn how to programmatically add controls to the HTML Head tag via the Sitecore API.

Jan 19, 2012     No Comments
Read More
Sitecore

Prevent Sitecore Content Editor From Stripping Script Tags

Learn how to prevent Sitecore's Rich Text Editor from stripping JavaScript tags.

Jan 10, 2012     6 Comments
Read More
Sitecore

Rendering Fully Qualified Sitecore URLs

Sitecore’s web.config contains many ways to extend and customize the application. One such configurable aspect is dynamic link resolution. This [...]

Jan 6, 2012     8 Comments
Read More
Sitecore

Scaling Sitecore Presentation Component Data Sources

Sitecore presentation components come with some handy features to make them reusable, such as assigning a data source to define [...]

Jan 4, 2012     6 Comments
Read More
Sitecore

A Going Live Checklist for Sitecore Websites

Here's a list of items to consider when launching a Sitecore site live. They're broken down into security and performance tips.

Dec 29, 2011     2 Comments
Read More
Sitecore

How to Sort Sitecore Items in the Content Editor

Learn how to sort items in the Sitecore content editor alphabetically by name (and other criteria).

Dec 14, 2011     1 Comment
Read More
Sitecore

Automate Sitecore Tasks with Wget

There are many approaches out there to automate tasks for Sitecore. Here is one way to use Wget and the Windows Task Scheduler.

Dec 12, 2011     No Comments
Read More
Sitecore

How to Setup a Sitecore Preview Site to Review Content Before Publishing

Learn how to configure a preview URL so that pre-production content can be previewed by people that can't access Sitecore.

Dec 9, 2011     3 Comments
Read More
Sitecore

How To Reset Individual Sitecore Fields to Standard Values

Learn how to reset individual Sitecore fields to their standard values using the content editor.

Nov 29, 2011     4 Comments
Read More
Sitecore

Managing CSS in the Sitecore Media Library

Learn how to leverage Sitecore's Media Library to store and use CSS files dynamically on a website.

Jul 20, 2011     7 Comments
Read More
Sitecore

Sitecore Internal Links

Sitecore's template editor comes with a vast array of field types. One field type in particular, the internal link, should be avoided due to its storage limitations.

Jun 1, 2011     1 Comment
Read More
Sitecore

Write to a Custom Sitecore Log with log4net

Learn how to use log4net to create additional logs for use with Sitecore. Just configure the logs and use the log4net API to write to them.

May 25, 2011     12 Comments
Read More
Sitecore

Sitecore Upgrade Strategy

Upgrading a Sitecore solution can be a daunting task if you have many versions to jump. Fortunately, it's much more manageable if you break it down into segments.

May 10, 2011     8 Comments
Read More
ASP.NET

C# Property vs. Method Guidelines

Sometimes its hard to determine whether to use a property or a method in C#. There are however guidelines to help you choose the right feature to use.

Mar 22, 2011     No Comments
Read More
Sitecore

Link Directly to a Sitecore Item in a Custom Editor

Learn how to make a custom Sitecore editor link directly to an item using the built-in JavaScript tools.

Mar 18, 2011     1 Comment
Read More
Sitecore

Use Namespace Aliases for Ambiguous Sitecore Class Names

Easily get over namepsace ambiguity with Sitecore classes by using C#'s namespace aliases.

Mar 16, 2011     No Comments
Read More
ASP.NET

Right-Click Attach To Process in Visual Studio

Here's a tip on how to tweak your Visual Studio code window context menu to include the Attach to Process debug command.

Mar 11, 2011     1 Comment
Read More
Sitecore

Using the DataSource Field with Sitecore Sublayouts

Sitecore sublayouts provide modular presentational pieces to Sitecore sites. Learn how to assign specific data to these components.

Mar 7, 2011     13 Comments
Read More
Sitecore

Handling Multiple Hostnames in a Sitecore Multi-Site Solution

Learn a quick trick to handle hostnames with and without subdomains in a Sitecore multi-site solution.

Mar 3, 2011     4 Comments
Read More
Sitecore

Sitecore Admin Pages Explained

Sitecore's admin folder contains several useful utility pages that are either undocumented or not very well known. Read on to learn about their uses.

Feb 16, 2011     7 Comments
Read More
Sitecore

Removing the ASPX Extension from Sitecore URLs

Sitecore sites add a .aspx extension to dynamic page URLs. This behavior can be changed to create more SEO friendly URLs. Read on to learn the approaches.

Feb 7, 2011     2 Comments
Read More
ASP.NET

Use Any() Instead of Count() To See if an IEnumerable Has Any Objects

When determining if an IEnumerable contains any objects, avoid Count() and instead use Any().

Jan 29, 2011     6 Comments
Read More
jQuery

Avoid return false in jQuery Click Bindings

The use of 'return false' in jQuery click bindings prevents JavaScript event bubbling. You can use event.preventDefault() instead to maintain event bubbling.

Jan 27, 2011     2 Comments
Read More
Sitecore

Tame Your Sitecore Treelists

The treelist field type is useful to select many items in a tiered structure, but the use of source parameters can help control what editors can see and select.

Jan 21, 2011     13 Comments
Read More
Sitecore

Storing Sitecore Media in the Database vs. the File System

Sitecore media assets can be stored in either the database or on the file system. This article covers the pros and cons of each approach.

Jan 18, 2011     5 Comments
Read More
Sitecore

Options For Querying Items from Sitecore

There are several options out there for developers to query Sitecore. Read on to figure out what is best for your queries depending on the size of your solution.

Jan 15, 2011     5 Comments
Read More
ASP.NET

Filter a List to Unique Objects with a HashSet

The generic HashSet in C# allows for an easy way to filter a list to distinct objects with minimal coding.

Jan 13, 2011     No Comments
Read More
ASP.NET

Disable ASP.NET Web Service Test Pages

Follow this simple web.config tweak to disable the form on any web service ASMX test page.

Jan 9, 2011     1 Comment
Read More
Sitecore

All About Sitecore Renderings

This article is a general overview of Sitecore renderings. The general term "rendering" refers to several specific types of front-end components that developers can use.

Jan 3, 2011     1 Comment
Read More
ASP.NET

Convert a List of BaseClass to a List of DerivedClass in C#

Its possible to convert a list of objects from narrower types to wider types and vice versa using the OfType extension method. This is useful for simple filtering.

Jan 2, 2011     No Comments
Read More
jQuery

Smooth Scrolling Links to the Top of the Page

Use this simple jQuery snippet to make smooth scrolling "go to top" links.

Jan 1, 2011     No Comments
Read More