This is field support for users. A number of things here could be reused for nodes and comments. It breaks AJAX replace even for non-fields. I don't know why. I hope I can find someone to fix it.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | fasttoggle-1214232-5.patch | 8.04 KB | traviscarden |
| #2 | fasttoggle_fields.patch | 8.25 KB | chx |
| #1 | fasttoggle_fields.patch | 8.16 KB | chx |
| fasttogle_fields.patch | 7.96 KB | chx |
Comments
Comment #1
chx commentedMuch better, this one. The AJAX support was broken due to calling non-exisitng function base_url().
Comment #2
chx commented*ahem* but colons need escapin' in jQuery selectors.
Comment #3
paulgemini commentedThanks for doing this. Forgive my ignorance - could you explain what this feature does?
Comment #4
chx commentedIf you define a list field with two values , you can toggle between them.
Comment #5
traviscarden commentedThe patch in #2 no longer cleanly applies. Here's a new git patch. I share it in the hope of accelerating the issue, but I didn't actually get it to work for myself (or take the time to). Do you have to implement
hook_fasttoggle_labels()for it to find your fields?Comment #6
nigelcunningham commentedWould someone provide instructions for testing the patch, please?
Comment #7
nigelcunningham commentedCode just committed to the 7.x-1.x branch adds Fields support.
Comment #9
fadgadget commentedHello i have a simple on/off checkbox text field added to a content type. Is it possible to add this to Fast Toggle now?
thanks
Comment #9.0
fadgadget commentedAdded a note that non-fields are broken too