Tag Archives: Pipeline

Sitecore 404 without 302

It’s a well known issue that when Sitecore displays a 404 page, it’s done by doing a 302 redirect to the 404 page, hence the 302 status code is thrown before the 404. The behavior is partially because of the … Continue reading

Posted in c#, General .NET, Sitecore 6 | Tagged , , , , , | 10 Comments

Initial field values for Sitecore – Setting a default future date

You all know that you can insert the node name in a text field by writing $name in the __Standard Values: This will fill in the node name when the item is created. Sitecore has more of those built in: … Continue reading

Posted in .net, Sitecore 6 | Tagged , , , , | 2 Comments

Creating fallback values using the RenderField pipeline

I have previously shown my support for pipelines in Sitecore and I have used pipelines to modify the request header, to create contenteditor warnings, and I have shown how to add parameters to pipelines. Here is another pipeline trick: Using … Continue reading

Posted in c#, Sitecore 6 | Tagged , , , , | 2 Comments

Allowing Google to sort your web pages by date

This article refers to the Google Search Appliance (GSA).  But since GSA and http://www.google.com is based on the same algorithms, it is very likely that it also applies to the general Google search as well. The Google Search Appliance allows you to … Continue reading

Posted in .net, General .NET, Sitecore 6 | Tagged , , , , , , , , | 2 Comments

Deleting items to recycle bin in Sitecore

There are several ways to delete an item in Sitecore programatically. The simplest is to use the item.Delete() function: This, however will delete the item entirely, not move it to the recycle bin. Instead you should use the item.Recycle(): You could … Continue reading

Posted in Sitecore 6, c# | Tagged , , , | 9 Comments

Parameters in Sitecore Pipelines

The Sitecore pipeline is another of Sitecore’s code gems that allows you to create a customizable sequence of functions to be performed on your code. Sitecore itself has a vast number of pipelines that processes information, for example the renderField … Continue reading

Posted in General .NET, Sitecore 6 | Tagged , , | 2 Comments

Create your own ContentEditorWarnings in Sitecore

A ContentEditorWarning is the yellow box at the top of the Sitecore content editor. This box can be used for numerous purposes. Sitecore itself uses it if you have no access to the item, for workflow messages, protected items etc. … Continue reading

Posted in .net, c#, Sitecore 6 | Tagged , , , | 3 Comments