- ๐ฆ๐บAustralia acbramley
This issue still seems relevant, I'm surprised this default comes all the way from Node's field default value.
We'll need to start with a reroll of the changes onto an MR.
I also noticed that we have base_field_override config in the standard install profile that says the default value of this should be 0 but that doesn't seem to actually be used on install.
- First commit to issue fork.
- Merge request !11608Issue #987238: โPromoted to front page" for new content types should default to Un-Checked โ (Open) created by realityloop
- ๐จ๐ฆCanada xmacinfo Canada
Based on #29338: Hide Promoted/Sticky fields by default in Form display โ , we should be marking this ticket as โOutdatedโ or โDuplicateโ.
- ๐ฆ๐บAustralia acbramley
@xmacinfo no - this is different. This is making the checkbox on the NodeType form itself to be unchecked.
- ๐จ๐ฆCanada xmacinfo Canada
Yes, but if we remove the checkboxes on new install, we do not need to worry about the checkbox being unchecked.
- ๐ฆ๐บAustralia acbramley
CR created https://www.drupal.org/node/3517642 โ
We need an upgrade path here though unfortunately.
Currently if you:
1. Install Standard profile on 11.x
2. Check out this branch
3. Clear cache
4. Notice the Article node type no longer defaults to Promoted. Page correctly still defaults to Not Promoted because Standard ships with base_field_override config - ๐ฆ๐บAustralia acbramley
Yes, but if we remove the checkboxes on new install, we do not need to worry about the checkbox being unchecked.
We aren't removing checkboxes, we're hiding them. It actually makes more sense to default to unchecked once we hide the fields, otherwise new sites will be creating "promoted" content without the checkbox even being visible. We have to do things in small steps (see the history of this issue) otherwise we'll never get anywhere :) Just look at how many tests in core assume things are promoted by default!
- ๐บ๐ธUnited States smustgrave
So I tested it out and pretty basic, creating a new content type and the promoted to front checkbox is unchecked
Hiding old patches
Tweaked the CR just slightly with an image for the visual people out there.I imagine this may break some contrib tests (hopefully not a lot) but seems like a right step.
- ๐บ๐ธUnited States benjifisher Boston area
We discussed this issue briefly at ๐ Drupal Usability Meeting 2025-04-11 Active . That issue will have a link to a recording of the meeting. We were primarily discussing the related issue #29338: Hide Promoted/Sticky fields by default in Form display โ .
We agree that this is a good idea. Thanks for working on this issue!
For the record, the attendees at the usability meeting were benjifisher, rkoller, and simohell.
- ๐ธ๐ฐSlovakia poker10
There is still one @todo in the MR - do we need to discuss that? I do not see it mentioned anywhere in this issue. Thanks!