Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is an offshoot of #552620: [meta-issue] Rewrite descriptions of content types UI which was a monster patch...
This patch improves the UI text on body field label and submission guidelines at admin/structure/types/manage/[content type]
Comment | File | Size | Author |
---|---|---|---|
#17 | after614316_17.png | 8.74 KB | lisarex |
#17 | 614316_17.patch | 617 bytes | lisarex |
#14 | 614316_13.patch | 594 bytes | lisarex |
#14 | 614316_13.png | 7.6 KB | lisarex |
#12 | 614316_11.patch | 593 bytes | lisarex |
Comments
Comment #1
lisarex CreditAttribution: lisarex commentedComment #2
lisarex CreditAttribution: lisarex commentedCheck it out... before and after screenshots :)
I can Skitch them if needed but there's a lot of them to get through!
Comment #3
yched CreditAttribution: yched commentedNot related to field_UI.
+ 'Body field label' will disappear in #553306: Make nodes have no body field by default. Remove deprecated APIs for body field
Comment #4
yched CreditAttribution: yched commentedComment #5
lisarex CreditAttribution: lisarex commentedOK, have removed the body field label and done another patch. Is this the right thing to do?
Comment #6
lisarex CreditAttribution: lisarex commentedComment #7
redndahead CreditAttribution: redndahead commentedLooks good to me. Added a comma at the end of the line since all array items should end in a comma.
Comment #9
heather CreditAttribution: heather commentedI tested this with #553306: Make nodes have no body field by default. Remove deprecated APIs for body field applied and without that patch applied.
In both cases #7 works as expected.
Likely it's just because I'm tired... I found it confusing. Am I just thick? Probably just me Video demo of this working:
http://screencast.com/t/ZWRjMWYxZWM
The text makes sense logically... Looks good.
Comment #11
axyjo CreditAttribution: axyjo commentedTest passed now. Back to RTBC.
Comment #12
lisarex CreditAttribution: lisarex commentedExcept Heather makes a good point. The page where this text appears isn't 'Add new content'. It's 'Create [content type]'
I've modified slightly based on the redndahead's patch.
Comment #13
webchickHm. I'm not sure that message is clear. In the removed line, it makes it clear where it will show up (at the top of the form). This new message is very vague about it. (it will show up ... SOMETIME..... when creating new content of this type. OOooOOoOOOOo!)
Comment #14
lisarex CreditAttribution: lisarex commentedoops, comma back in now (this isn't done automatically unfortunately). And screenshot attached.
Comment #15
lisarex CreditAttribution: lisarex commentedI can add in 'at the top of the page'?
Comment #16
webchick"This text will be displayed at the top of the page when creating new content of this type."?
Yep, I think that works! Go Lisa, Go! :D
Comment #17
lisarex CreditAttribution: lisarex commented:D Here we go :)
P.S. LOL at "OOooOOoOOOOo!"
Comment #18
lisarex CreditAttribution: lisarex commentedComment #19
webchickLooks great! Committed to HEAD.