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.
The protected node configuration available on the node edit page is confusing for the following reasons:
- When the content type is set to "Always protected", the help text on the node edit form still indicates that a checkbox is available when it actually isn't.
- The "Show Title" checkbox only matters when the default description text is used. It has no effect when a custom description text is set.
Comment | File | Size | Author |
---|---|---|---|
#3 | protected_node-node_edit_settings-2537898-3.patch | 6.87 KB | digitgopher |
| |||
#1 | protected_node-node_edit_settings-2537898-1.patch | 3.08 KB | digitgopher |
Comments
Comment #1
digitgopher CreditAttribution: digitgopher at Pacific Northwest National Laboratory commentedResolution:
1. Move the description text to the checkbox it is for.
2. Hide the show title option if other text will be displayed regardless.
I thought about other permissions checks or text to display when the checkbox is hidden, but didn't think we needed anything else. What do you think?
As always, please let me know if I did anything wrong! Thanks.
Comment #3
digitgopher CreditAttribution: digitgopher at Pacific Northwest National Laboratory commentedWell clearly I didn't test that. Let's try this again.
Comment #5
digitgopher CreditAttribution: digitgopher at Pacific Northwest National Laboratory commentedNice, it works now.
Comment #7
digitgopher CreditAttribution: digitgopher at Pacific Northwest National Laboratory commentedRe-testing after #2534644: fix tests for bulk actions feature marked as fixed...
Comment #9
digitgopher CreditAttribution: digitgopher at Pacific Northwest National Laboratory commentedMy mistake, it fails concerning #2447913: Fix fork feature, fork rather than bulk. Anyway, I will wait for a review now.
Comment #11
GrimreaperHello,
This is merged now. Thanks.
Notices:
- inline comments and phpdoc comments should not have more than 80 characters on the same line
- don't forget space before parenthesis in "if () {"
- variable names should not be in camelcase (in D7)