Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If you delete the body label from the forum content type, the body does not disappear from the form. This is because forum_form()
does not respect $type->has_body
: patch attached.
We want to use CCK fields across all content types so we've got more control over display, but regardless the behaviour of forum.module here is inconsistent.
Comment | File | Size | Author |
---|---|---|---|
forum_has_body_patch.txt | 704 bytes | jp.stacey |
Comments
Comment #1
garrettc CreditAttribution: garrettc commented+1
Consistency is good.
Comment #2
yched CreditAttribution: yched commentedHm, this will probably be moot anyway after #553306: Make nodes have no body field by default. Remove deprecated APIs for body field lands
Comment #3
jp.stacey CreditAttribution: jp.stacey commented@yched will #553306: Make nodes have no body field by default. Remove deprecated APIs for body field that be backported to D6? Presumably it only makes sense in the context of fields-in-core. If that's the case then this is still a D6 core bug.
Comment #4
yched CreditAttribution: yched commentedWoops, my bad, didn't notice the "6.14" version. Right, #553306: Make nodes have no body field by default. Remove deprecated APIs for body field is D7 only, of course.
Comment #5
larowlan