Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When you push the "More strings" button, a new element appears underneath the table. The element should appear as a new row in the table. The values of these new elements should also be saved when hitting "Save configuration".
Comment | File | Size | Author |
---|---|---|---|
#2 | stringoverrides_cleanup_5.patch | 2.74 KB | quicksketch |
#1 | stringoverrides_ahah.patch | 6.38 KB | quicksketch |
Comments
Comment #1
quicksketchWorking "more" button patch. I removed a lot of the 'wrapper' elements because they're not necessary if you're using a theme function. I should've done more of this sort of thing in core :P
Anyway, this patch is basically an exact copy of how poll.module does it's more button. The biggest change here being the #cache flag so that when the form is rebuilt, it contains more fields than the previous click.
Comment #2
quicksketchHere's a cleanup patch for D5 that makes it similar to the code in the D6 version to ease maintenance.
Comment #3
RobLoachhttp://drupal.org/cvs?commit=98906
Awesome!
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.