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.
When I add a custom block to a panelized node it defaults to the Block Title.
Now if I update the Block title via block configuration it never updates the block title that was added in the panelized node. Is there a way to have it always use the block title?
Comment | File | Size | Author |
---|---|---|---|
#11 | block_title_default-2862535-11.patch | 3.93 KB | waspper |
#9 | block_title_default-2862535-9.patch | 3.78 KB | waspper |
| |||
#6 | block_title_default-2862535-6.patch | 3.73 KB | waspper |
| |||
#3 | PanelsPane-Keep-Title.png | 32.14 KB | waspper |
panelizer_block.png | 73.46 KB | albertski |
Comments
Comment #2
DamienMcKennaThat would make it a feature request. Maybe like on D7 there should be a way of indicating whether the block title is to be overridden or used as-is?
I'm moving this over to the Panels issue queue as that's where it would need to start.
Comment #3
waspper CreditAttribution: waspper as a volunteer and at Skilld commentedComment #4
waspper CreditAttribution: waspper as a volunteer and at Skilld commentedComment #6
waspper CreditAttribution: waspper as a volunteer and at Skilld commentedComment #7
waspper CreditAttribution: waspper as a volunteer and at Skilld commentedComment #8
andypostI think naming needs work, maybe kinda "override_label" (true by defalt for bc) or "use_block_label" (false as default)
Comment #9
waspper CreditAttribution: waspper as a volunteer and at Skilld commentedComment #10
sorlov CreditAttribution: sorlov commentedLast patch works fine for me for Custom Blocks.
But maybe pane title textfield should became 'disabled' when we enable this 'Use admin label' checkbox ?
Comment #11
waspper CreditAttribution: waspper as a volunteer and at Skilld commentedAttached new patch with label field disabled when checking the admin label option.