Sitecore CMS and everything related RSS 2.0
 Thursday, January 12, 2006

I'm not sure whether it's a great example of Sitecore extensibilty or of things you shouldn't do, but I though I'd share it anyway :)

TaskbarSections.png

This little snippet adds shortcut to all content sections (and a little unsupported yet indispensable dbbrowser) to the Sitecore task bar. What is good about is, is that its very easy to install: download and unpack to your /sitecore/shell/override, its just two xml layouts with embedded code. The dark side is that you have to put them in override folder to replace the standard Sitecore start bar. So if the start bar changes in future builds - yours won't.

Fortunatelly, uninstalling is just as easy: remove the Startbar.xml and StartbarSections.xml files and thats it. Standard disclaimers apply: if your PC turns into evil alien monster and starts dissecting humans - you have been warned. Although it might be a good idea to keep your production server clean, I (humbly) find this control to be very useful in development environment.

Once again - download link (3kb).

Thursday, January 12, 2006 10:07:46 AM (FLE Standard Time, UTC+02:00)  #    Comments [5]
Sitecore | Open Source | Sheer UI
Thursday, November 09, 2006 2:43:51 PM (FLE Standard Time, UTC+02:00)
I cannot download this sample :(. When I've clicked the download link, I was redirected to the Page not found page.
Ivan
Thursday, November 09, 2006 3:07:25 PM (FLE Standard Time, UTC+02:00)
You're right, thanks - it probably got lost during the move.

I've uploaded it back.
Thursday, April 19, 2007 3:57:30 PM (FLE Standard Time, UTC+02:00)
Ouch ... this turns my SiteCore 5.3 installation into an evil alien monster and starts dissecting humans. I assume it was written for a previous version?
Thursday, April 19, 2007 4:10:07 PM (FLE Standard Time, UTC+02:00)
Yes! I tamed the monster! Replace Startbar.xml with the following:


<?xml version="1.0" encoding="utf-8" ?>
<control xmlns:def="Definition" xmlns="http://schemas.sitecore.net/Visual-Studio-Intellisense" xmlns:shell="http://www.sitecore.net/shell">
<Startbar>
<Script Src="/sitecore/shell/applications/Startbar/Clock.js"/>

<shell:StartMenu />

<Border ID="Startbar" Height="29" Width="100%">
<GridPanel Columns="4" Width="100%" Height="29" Style="background:url(/sitecore/shell/themes/standard/Images/Startbar/StartbarBackground.png) repeat-x;">

<ImageButton ID="StartButton" Src="Images/Startbar/StartButton.png" Width="79" Height="29" Click='javascript:scForm.showPopup(null, "StartButton", "StartMenu", "above")' Alt='Click here to begin.'/>

<Space Width="8"/>

<Scroller ID="StartbarScroller" Height="27" Width="100%" Border="none" ContextMenu="StartbarMenu.Show" GridPanel.Width="100%" GridPanel.VAlign="bottom">
<table id="StartbarApplications" style="color:white; font:8pt tahoma" border="0" cellpadding="0" cellspacing="0" Height="27">
<tr></tr>
</table>
</Scroller>

<table id="StartbarTray" style="color:white; font:8pt tahoma" border="0" cellpadding="0" cellspacing="0" height="27" GridPanel.Width="200">
<tr>
<td style="white-space: nowrap">
<StartbarSections ID="StartbarSections"/>
</td>
<td>
<SubmittableEdit ID="SearchBox" Background="transparent" Foreground="#cccccc" Submit="Search" Border="1px solid #666666" Width="80"/>
</td>
<td>
<Border ID="DatabaseName" Class="scDatabaseName" onmove="javascript:this.style.left=(scForm.browser.getControl('Startbar').offsetWidth-this.offsetWidth-4)+'px'"></Border>
</td>
<td ID="Tray" style="white-space:nowrap"></td>
<td ID="Clock" style="white-space:nowrap"></td>
</tr>
</table>
</GridPanel>
</Border>

<DataContextMenu ID="StartbarMenu" DataSource="/sitecore/content/Applications/System/Window manager/Startbar context menu" RenderAs="WebControl"/>
<DataContextMenu ID="StartButtonMenu" DataSource="/sitecore/content/Applications/System/Window manager/Startbutton context menu" RenderAs="WebControl" />
<DataContextMenu ID="ApplicationMenu" DataSource="/sitecore/content/Applications/System/Window manager/Application tab context menu" RenderAs="WebControl" />

</Startbar>
</control>
Monday, April 23, 2007 9:57:02 PM (FLE Standard Time, UTC+02:00)
Thanks Sander,

It indeed was made for Sitecore 5.1/5.2. Thanks for posting the updated version. You might also want to look at new tray options in Sitecore 5.3 - tray icons are configurable using the core database, so it should be possible to achieve pretty much the same without changing Sitecore files.
Comments are closed.
Archive
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Blogroll
 Alex de Groot
Few words about SiteCore from Holland
 Alexander Shyba
Sitecore Support
 Anders Dreyer
Anders Dreyer on Sitecore Development
 Jakob Christensen
Sitecore Core Development
 Lars Fløe Nielsen
Lars's ramblings about development and business processes
 Ole Thrane
Sitecore API
 Runi Thomsen
Runi Thomsen Sitecore Toughts
 The Sitecore Experience
The Sitecore Experience
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010
Alexey Rusakov
Sign In
Statistics
Total Posts: 211
This Year: 0
This Month: 0
This Week: 0
Comments: 0
Themes
Pick a theme:
All Content © 2010, Alexey Rusakov
DasBlog theme 'Business' created by Christoph De Baene (delarou)