Sitecore Managed Sites as Virtual Folders
Learn how to properly configure a Sitecore site with a virtual folder
Sitecore Item and Field Names
Learn all about Sitecore item and display names and how you can alter field names.
Sitecore Avanced Database Crawler Occasionally Provides Null Results
Learn how to avoid getting null results from the Advanced Database Crawler with 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.
Sitecore Packager Error: Root Element is Missing
Lear how to fix the Sitecore packager error "Package generation failed: Root element is missing"
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.
Sitecore Front-End Development Best Practices
Learn some front-end development best practices that can make Sitecore development easier and more flexible.
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.
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.
Defensive Coding for Sitecore
Learn about my favorite defensive coding patterns and practices for Sitecore development.
Easily Sanitize a Sitecore Item Name in C#
Learn how to easily sanitize a Sitecore item name when programmatically creating it.
Programmatically Add Controls to the HTML Head in Sitecore
Learn how to programmatically add controls to the HTML Head tag via the Sitecore API.
Prevent Sitecore Content Editor From Stripping Script Tags
Learn how to prevent Sitecore's Rich Text Editor from stripping JavaScript tags.
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 [...]
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 [...]
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.
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).
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.
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.
How To Reset Individual Sitecore Fields to Standard Values
Learn how to reset individual Sitecore fields to their standard values using the content editor.
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.
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.
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.
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.
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.
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.
Use Namespace Aliases for Ambiguous Sitecore Class Names
Easily get over namepsace ambiguity with Sitecore classes by using C#'s namespace aliases.
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.
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.
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.
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.
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.
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().
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.
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.
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.
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.
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.
Disable ASP.NET Web Service Test Pages
Follow this simple web.config tweak to disable the form on any web service ASMX test page.
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.
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.
Smooth Scrolling Links to the Top of the Page
Use this simple jQuery snippet to make smooth scrolling "go to top" links.
