Thanks for that.
I've been filling out the page on creating widgets as I've discovered things. Hopefully it'll help other people trying to do the same thing. I'd appreciate someone casting an experienced eye over it though, to make sure I'm not doing anything stupid.
Cheers, Vil.
Andreas Hochsteger wrote:
Hi Vilya,
I'm sorry that I can't point you to an existing HOWTO. I had the same problem some time ago when I wanted to write a new data type for CForms.
Perhaps it's time to collect this information on the wiki. I've created two pages which can be filled by those who know something about these things or are forced to learn it (hint!): http://wiki.cocoondev.org/Wiki.jsp?page=CocoonFormsCreatingWidgets http://wiki.cocoondev.org/Wiki.jsp?page=CocoonFormsCreatingDataTypes
Bye, Andreas
Vilya Harvey wrote:
Hi all,
Lately I've been trying to add my own widget to CForms. The CForms code is fairly clear, but there seems to be a lot of places where things need to be changed/added. Is there a HowTo document anywhere which describes the necessary steps?
For those that are interested, the widget I'm trying to add is an extension of the standard repeater which has built-in support for pagination. I'm fairly new to Cocoon in general, so if there's a better way to get the same result I'd love to hear it! I can imagine adding support for other widgets in future though (tree widget, anyone?), so it would definitely be helpful to have a Widget HowTo.
Cheers, Vil.
-- __ o| _. / \|o._ _ _ ._ _ ._ _ _|_ \/ ||\/(_|| (|/||| |(/_(_)| |(/_o| |(/_ |_ / \__ http://website.lineone.net/~vilya
