Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
So when on "/messages" page, there are checkboxes, however it doesn't have labels which means these checkboxes can't be styled. I'd like to suggest that labels should be added for that reason. If there's a way to do that with using form_alter or something else, i'd be reaaaally glad if someone could help with that.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2199403-label-for-checkboxes.patch | 1.46 KB | metallized |
#1 | privatemsg.labels.patch | 714 bytes | metallized |
Comments
Comment #1
metallized CreditAttribution: metallized commentedHi, here is the patch that i did to resolve this
Comment #2
metallized CreditAttribution: metallized commentedComment #4
metallized CreditAttribution: metallized commentedComment #5
metallized CreditAttribution: metallized commentedComment #7
Coyote6GraphX CreditAttribution: Coyote6GraphX as a volunteer commentedI agree it would be nice if this was set to display the labels by default, but you can override it using theme_tableselect() in your template.php file in your theme. No need to patch the module. Just copy the theme_tableselect() code and then after the if statement on lines 10-12:
add the following code:
Took me a bit to figure this one out, and yes this will effect all table selects for your theme, but that would be the goal as you would need to be able to style all checkboxes.
Comment #8
ivnish CreditAttribution: ivnish commentedComment #9
andypost