widgets

Is there a reason why I have to create or import a widget from the admin panel? I tried writing my own and just dropping it in the widgets folder thinking conventions would do the rest but when I do this and look in the widgets lists it says there is an error with the widget.

Thanks.

Jonathan

Can you post your widget

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

I just copied the viewlet.cfc to a new name.

That won’t work as the constructor needs a type

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano