This project is read-only.

Problem with tag cloud widget

Aug 3, 2008 at 5:47 PM
It seems that i can edit anything in the tag cloud widget except the <label for="widget_ddlNumber">Minimum posts in each tag</label>, which always gets reset to the default (1).
Is there anything i can do?

Sep 23, 2008 at 3:54 PM
I'm having the same problem, although it worked fine in 1.4.0, but not in 1.4.5.
Other settings for other widgets seem to work ok, it's just this one.
Anyone know what it's trying to do and why it's failing?

Sep 23, 2008 at 4:03 PM
I thought I'd try the obvious and just change the widget code (for which you don't need the development platform) so it just limits the tag cloud the hard way. So this is what I now have for Tag cloud/edit.ascx:

    protected override void OnLoad(EventArgs e)
        ddlNumber.SelectedValue = "2";

So the thing which was broken was:
        StringDictionary settings = GetSettings();
        string minimumPosts = "1";
        if (settings.ContainsKey("minimumposts"))
            minimumPosts = settings["minimumposts"];
I just got rid of it as above.