This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Scott
Scott

Recently I found myself breaking the "don't repeat yourself" rule. I was copy pasting my form widgets from plugin to plugin, and it occurred to me... These things shouldn't be dependent on a plugin! My plugins should be able to share widgets. Even more importantly, October developers should be able to share widgets with one another! So taking that idea, I've created a github page called the October Widgets Library. My goal is to create a large library of useful widgets that can be pulled in via composer. If any of you have useful widgets that others might benefit from, please feel encouranged to contribute!

So far I've uploaded two form widgets I've been playing with, and there are a couple more I plan on adding soon. I hope this becomes a useful tool, and look forward to seeing what the October community thinks of this!

d.negativa
d.negativa

Interesting idea!

Scott
Scott

An example plugin now exists to demonstrate the usage of the first 4 widgets. Enjoy!

Edit: New money input widget added

Last updated

Lucas[Keios]
Scott
Scott

Just an update for those who might be interested, jQuery Knob has been added and can easily used in your plugins :)

https://github.com/october-widgets/knob

Thanks Lucas for creating such an excellent widget!

dazmiller8556
dazmiller8556

Just wanted to thank you for these amazing widgets. Saved me heaps of time and they are very useful. Thanks very much!!

Scott
Scott

Thanks for the support dazmiller8556, glad you like them!

Also just a quick update... I've added a behavior to the collection so we don't have to re-write the same method in every controller anymore. https://github.com/october-widgets/list-delete

webmaster
webmaster

Great Scott, I'll do something on this project in next week ;) and share them here.

inetis
inetis

Hi Scott Thanks for your widgets :) What about a widget to publish/unpublish item directly from the list ?

planetadeleste
planetadeleste

@Scott, if you want, you can add my widget (Controller Behavior) to your library.

https://bitbucket.org/planetadeleste/october-modal-behavior

Thanks

Scott
Scott

@planetadeleste sure man, submit a PR to the repo and I'll take care of it!

Fibonacci
Fibonacci

@scott, could you solve my case to create form widget in here? thanks

planetadeleste
planetadeleste

Scott said:

@planetadeleste sure man, submit a PR to the repo and I'll take care of it!

I add the PR. But, I don't know if is correct the place where I submit it.

thanks

Rygar
Rygar

thanks this is really helpful..

I think there should be a link in the october website to the widget library like the plugins so it can be known for everyone = )

Please consider it as this would be very useful for many of us!

1-14 of 14

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.