Modifying widget titles in standard theme

Topics: ASP.NET 2.0
Mar 21, 2009 at 8:20 PM
How would I go about changing the Month List widget on the standard theme to display the title as Archive rather than Month List?  And if I wanted to include an image in place of a widget title, how would I do that as well?

Thanks in advance for your help.
Mar 21, 2009 at 8:33 PM
If you open up the widget.ascx.cs file under "widgets\MonthList", you'll see this code below:

public override bool IsEditable
    get { return false; }

Change that "return false" to "return true".

Once you've done that, when you go back to your blog, you should see an 'Edit' link in the upper-right corner of the MonthList widget (make sure you're logged in).  If you click the Edit link, you can edit the title at the top of the editor window.  I just tested it out, and you should be able to put an <img> tag in the title field.
Mar 21, 2009 at 8:49 PM
That worked perfectly.  Thanks!