Description of the need
When a Views' setting (e.g. Header) has been overridden for the current display, it's not easy/obvious how to revert it to match the other displays, especially if it's empty.
For example:
- Create a new view
- Go to
/admin/structure/views/add
- Enter a name then click 'Continue & configure'
- Go to
- Override the header
- Click 'Add' next to Header
- Change For to 'This page (override)'
- Tick 'Global: Text area' and click 'Add and configure header'
- Click 'Apply (this display)'
- Click 'Global: Text area' under Header
- Click 'Remove'
The header is now overridden, but empty. The only option is 'Add', but if we click that and then change For to 'Revert to default' and click 'Add and configure header', nothing happens. So we need to add something first, but even then we need to go to the second screen where we configure whatever we added before the 'Revert to default' option takes effect.
Proposed solution
I propose adding a new option to the drop-button for reverting to default:
This would only be available for overridden settings obviously.
Recent comments
Hello, @yorkshirepudding! Thanks a lot, I got it, all sorted out.
My layout template (layout--blog.tpl.php) doesn't work
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform