Closed (fixed)
Project:
Save & Edit
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Jun 2025 at 10:48 UTC
Updated:
30 Jul 2025 at 20:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
maxilein commentedComment #3
maxilein commentedIf I change save_edit.module line 57:
to
it works and is visible alongside the save button.
Comment #4
maxilein commentedWhatever this line does
if ($config->get('gin_primary')) {: Maybe the problem is that I use gin for admin theme (not main theme) and to edit content?Comment #5
caesius commentedHi, please review this related issue: #3461404: The "Save & Edit" button is hidden behind a "More actions" dropdown button in the Gin Admin theme
This code was added because the button was hidden in the Gin theme. Now you're saying that with this code the button gets hidden?
Please track down what specific version of the Gin theme this code worked on, and when it broke. Or see if it breaks in Drupal CMS but is fine in vanilla Drupal.
If it breaks from a minor or patch update of the Gin admin theme, then I'd be fine removing all the Gin-related code from the module. However, if it only breaks on a major version update of the Gin theme, then I'd only be comfortable removing the code on a 2.0 release of this module in order to avoid breaking sites that haven't upgraded Gin yet.
Either way I think moving forward I will not be accepting theme-specific accommodations for this module and would suggest custom code or a new submodule to deal with any issues a specific theme presents for the Save & Edit button (aside from Claro).
Comment #6
caesius commentedComment #7
maxilein commentedSorry I was in the wrong. I used Version: 8.x-1.8 not the current dev version of save_ edit.
But the current dev has the same date. It made no change. I had to leave the check commented.
Comment #8
caesius commentedI installed the latest version of Save & Edit on Drupal 11.
The Save & Edit button appears as a primary button (not under "More Actions") if this configuration is enabled:
@maxilein did you enable this configuration option? (after uncommenting the module code)
Comment #9
caesius commentedComment #10
caesius commentedComment #11
caesius commentedI'm adding code to the .install file to enable the above configuration option by default if Gin is the admin theme upon module installation.
Comment #13
caesius commentedFixed in 8.x-1.9 and 2.0.0-rc2