Sitecore Blog: @sitecorejohn blog

Randomize Sitecore Desktop Background Image

By John West, July 22, 2010 | Rating:  | Leave a comment

Screen shot of a Sitecore desktop

This blog post describes how you can randomize the background image each time you log in to the browser-based desktop of the Sitecore ASP.NET CMS.

Create and populate a directory to contain the images for a user. For example, to randomize the desktop image for the sitecore\admin user, create the directory /sitecore/shell/Themes/Backgrounds/Admin and populate it with images for that user. Then add a processor to the loggingIn pipeline defined in the web.config file. For example:

<loggingIn>

...

  <processor mode="on" type="Sitecore.Sharedsource.Pipelines.LoggingIn.RandomizeDesktopBackground, assembly"/>
</loggingIn>

Download prototype code for the pipeline processor.

I wish programming cutomizations to Windows itself could be this easy.

Tags: API, Sheer UI

*
*
*

Learn More with Sitecore

Newsletter
*

N. Vancouver School District | Read Case Study >

To us, Sitecore has been more than just a CMS, but a development platform. We are thrilled with the depth and sophistication of the Sitecore environment.

- Brian Fairholm, North Vancouver School District