How to enable the Add Widget control in a custom theme?

Topics: Controls, Themes
Feb 28, 2009 at 7:08 PM
I am using changeset 25500 with the Discovery theme from Adam Zastawshki.  It doesn't look like the Add Widget control is included in this theme, or if it is I am not sure how to enable it. Is there a way I can enable it or do I need to copy it into the theme myself?
Feb 28, 2009 at 7:18 PM
Just add the following into your theme's site.master file:

<blog:WidgetZone runat="server" ID="rightzone" />

For formatting, you may need to also copy some of the widget zone CSS styles from the Standard theme's style.css file into your theme's CSS file.  In the Standard theme's style.css file, there's a section marked as the "Widgets" section.
Feb 28, 2009 at 7:37 PM
Thanks again, Ben.