Showing posts with label personalization. Show all posts
Showing posts with label personalization. Show all posts

Tuesday, September 21, 2010

Customize the Sitecore System Tray

The Sitecore Desktop is just like Windows, it’s customizable. Not a lot have utilized it because there’s not much about on how to do so except for typical user-specifics such as wallpaper, desktop shortcuts, etc. Here is one thing you can do to the system tray.

WARNING: Make sure to be cautious when making these changes as these updates the Core database.

  1. Click on the Database Selector and select Core.
  2. Under the Core database, open the Content Editor.
  3. Go to sitecore/content/Applications/Desktop/Tray. You’ll see the Database item there which defines the Database Selector you see to the left of the time in the system tray.
  4. Let’s add a new Toolbutton and name it OpenWebsite.
  5. In the OpenWebsite item, the key fields under Data are:
  • Click: defines the system command that is called when the item is clicked on the tray (for our example use “system:openwebsite”)
  • Icon: the icon used on the tray (for our example use “Network/16x16/earth.png”
Play with the other fields there and see how it changes the tray.

*EDIT October 28, 2010. We have moved our blog to http://blog.roundedcube.com and you can now comment on this specific post at http://www.roundedcube.com/WhatsNew/Blog/customize-the-sitecore-system-tray

Friday, September 17, 2010

Dynamic Sitecore Desktop

I was playing around with Sitecore and I saw John West’s way of randomizing the desktop wallpaper. He uses a logging in pipeline processor that essentially updates the Wallpaper property of the user. It’s pretty cool….so I get to thinking…let me try to make it more dynamic.

I’ve always liked how the new HTC or Droid phones’ “desktop”. They show the nice nifty time/date plus the weather. It’s pretty cool to see something quick like that. In fact, there’s an HTC Home port to Windows on CodePlex that does just that. So, why not in Sitecore? Well, watch the video and tell me what you think? It’s not exactly like the Droid or HTC but you get the idea.




I basically updated the Shell application (Shell.xml) to include some nifty jQuery stuff. Sitecore does support jQuery (the noconflict version) and allows us to do some cool jQuery. In fact, you’ll see the library included with the install:

/sitecore/shell/controls/lib/jQuery/jquery.noconflict.js

Anyway, I created a UI widget library that essentially generate the time and weather on a layer on top of the desktop layer. This exercise had no C# code involved but I do want to warn you that this could bring Sitecore down. So just be careful.

I thought that this was pretty nifty and could open a new set of apps, interactions, and UI for Sitecore. If there’s enough interest, I might continue this line of widget apps and maybe make a library of it. What kind of things do you think would be useful to content editors, developers, etc? Or maybe a game like Minesweeper?

*EDIT October 28, 2010. We have moved our blog to http://blog.roundedcube.com and you can now comment on this specific post at http://www.roundedcube.com/WhatsNew/Blog/dynamic-sitecore-desktop