﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
8441,New Widget API based on MultiWidget Class,thornomad,azaozz,"I have a feature enhancement for consideration in the trunk -- not sure how to go about getting it in there, so I thought I would post it here.  

This came about when I tried to add mult-widget functionaility to a plugin I was contributing to ... I found the process to be far from easy and, although I got it to work, it required a lot of clunky coding.

Alex Tingle (lead devloper on the plugin) agreed, and created this enhancement to reduce the clunk: a php class called MultiWidget. The class handles all the nefarious multi-widget ""tricks"" required to implement a multi-widget plugin.

The benefit is that it will provide widget developers with a clean way to extend their plugins to multi-widget functionality without things ""getting ugly"" (as I see it).

See blog post explaining this at: http://blog.firetree.net/2008/11/30/wordpress-multi-widget/

See the code for this at: http://ec3.pastebin.com/fccfe0a0

See example usage of this class at: http://ec3.pastebin.com/f56a1539d

Again, not sure how to get it considered for inclusion in the Wordpress trunk, but I think it would benefit countless widget developers who, like me, run into some barriers when implementing a multi-widget.

Thanks,
Damon

",task (blessed),closed,normal,2.8,Widgets,2.8,normal,fixed,"widget, plugin, multi-widget",Alex Tingle westi scribu@…
