If a CCK date field is set to have To and From components, then it is shown in a fieldset in the edit form.
However, this fieldset has no CSS class and so is hard to style.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | date-fieldset-class-802556-5.patch | 522 bytes | tommyk |
| #1 | 802556.date_.date-fieldset-class.patch | 730 bytes | joachim |
Comments
Comment #1
joachim commentedHere's a patch.
Note that underscores in the fieldname don't get converted to hyphens and perhaps should -- I know of a helper function in Views that does that, but not one in CCK/Date.
Comment #2
Renee S commentedI can confirm that this patch worked for me. Thanks =)
Comment #3
davepoon commentedIt is working! Thanks.
Comment #4
Renee S commentedIs it possible to get this committed before 2.5? It's small but very helpful :)
Comment #5
tommyk commented#889988: Add css class to fieldset wrapper marked as duplicate
I'd still like to use this in Drupal 6 if anyone can commit this.
Attached is a patch against 6.x-2.x-dev from Git as opposed to the old CVS patch above.
Comment #7
tommyk commentedOops, patch wasn't attached properly.
New patch attached with
str_replace()to change underscores into hyphens.Comment #9
damienmckennaUnfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.