Hi guys, I've wrote a module that uses jQueryUI widgets to create ready to use form elements. It provides normal and collapsible horizontal tabs , normal and collapsible accordions, range (2 value) slider, single value slider, range slider with fixed minimum value, range slider with fixed maximum value and buttonsets.
I wanted to publish it as an independent project but then timplunkett in IRC told me about this project, and it seems that my module can be placed here (maybe as a sub-module because it depends on jquery ui).
Please review the code and see if it's OK to put this in elements module :)
P.S. This is the module itself and not a patch, if you decided that it can be placed be here, I'll be happy to provide a patch!
Comment | File | Size | Author |
---|---|---|---|
#1 | elements.patch | 10.7 KB | farhadhf |
jq_form_elements.tar_.gz | 20.65 KB | farhadhf |
Comments
Comment #1
farhadhf CreditAttribution: farhadhf commentedAttached the patch.
Comment #2
webankit CreditAttribution: webankit commented+1
Comment #3
andypostThere's 4 slider modules see #1416822: Duplicate modules
Comment #4
farhadhf CreditAttribution: farhadhf commentedThis code contains 4 types of jQuery slider (2 of them are not provided by other modules), But it also contains normal and collapsible jQuery tabs, normal and collapsible accordions, buttons and buttonset.
So maybe you can use portions of the code that you are interested in?
Comment #5
andypost@farhadhf I just point about duplication of efforts and suggest to join forces
there's another reply #1237668-12: sliderfield
so I recommend to continue discussion in #1416822: Duplicate modules
Comment #6
farhadhf CreditAttribution: farhadhf commentedOk! Thank you! :)
Comment #7
jrowny CreditAttribution: jrowny commentedSo the only thing that I think sliderfield does that this doesn't is provide a widget which can be used by fields. Does elements plan to include widgets? If so, should I start patching them on here? Or should I open a new thread for that?
Comment #8
Glenmoore CreditAttribution: Glenmoore commentedHow do we use this module? I've installed it in the normal way and I have jquery update but cannot see any sort of interface?
Btw Does it take cck values as inputs to max and Min values?
Comment #9
farhadhf CreditAttribution: farhadhf commentedIt does not provide any interface, This is an API module, It provides a few form elements that can be used by other modules.
Comment #10
Glenmoore CreditAttribution: Glenmoore commentedOh right, ok thank you.
Comment #11
klonosPerhaps if the modules "pretty-name" was Elements API it would make it clear(er) from first look ;)
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commented+1
Comment #13
jlyon CreditAttribution: jlyon commentedGot an error when trying to apply #1 to both the 7.x-1.x and 1034690-horizontal-tabs branches:
I am going to be working on adding webform support to the module in the tarball from the original issue post.
Comment #14
qasimzee CreditAttribution: qasimzee commentedIn my opinion, this kind of module is a must that provides all jQuery controls with Form API.
Comment #15
amocsy CreditAttribution: amocsy commentedI think the key here is that it provides controls for Form API, and thus it's for module developers, most "duplicates" are for site builders, huge difference!
BTW is Elements module dead? No activity on the dev branch since so long.
Comment #16
Dave ReidNope, not dead.
Comment #17
subhojit777I applied the patch and re installed the module. I have a form element like this:
But it is not working.
Comment #17.0
subhojit777added ps!