Monday, February 05, 2007
  1. Navigate to "~Program Files~\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES" on your SharePoint 2007 Server
  2. Edit the file "VariationsLableMenu.ascx" and uncomment the line <cms:VariationsLabelEcbMenu id ="varlabelmenu1" DataSourceID="LabelMenuDataSource" DisplayText="<%$Resources:cms,VariationLabelMenuTitle%>" IsCallbackMode="true" runat="server" />
  3. Add the tag <%@ Register TagPrefix="PublishingVariations" TagName="VariationsLabelMenu" src="~/_controltemplates/VariationsLabelMenu.ascx" %> to the header of your masterpage.
  4. Add <PublishingVariations:VariationsLabelMenu id="labelmenu1" runat="server"/> in your masterpage to show the standard VariationsLabelMenu.
4/29/2007 12:58:18 PM (Mitteleuropäische Sommerzeit , UTC+02:00)
great post just what I was looking for :) , thanks for the tip.

BTW do you know why this code is commented in the RTM, while in beta releases it was there ?
8/24/2011 9:55:41 AM (Mitteleuropäische Sommerzeit , UTC+02:00)
The label menu takes an extra trip to the DB regardless of whether it is being displayed or not. Given that the control lives in the master page, every page takes this extra hit. Not good especially since most pages will probably not be part of a variations hierarchy. Hence it was commented out.
Reference
http://msmvps.com/blogs/obts/archive/2006/11/29/353355.aspx
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):