Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When using 2 Omega subthemes (one as front end theme, one as backend theme) visiting /admin/appearance/THEME/settings completely breaks the system. :)
A better description of this could be provided, but it's an issue fubhy and I have already been discussing.
Comment | File | Size | Author |
---|---|---|---|
#1 | backend-frontend-theme.patch | 7.49 KB | fubhy |
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedThere was indeed a bug in Omega that caused the function that builds the theme trail to fail. But that's not all. There is a Drupal core "bug" (something noone has thought about before I believe) which occurs when the frontend and the backend theme use the same base theme. This "bug" causes the hook_theme_settings_alter function to be invoked TWICE in some cases (once for the backend theme and once for the frontend theme) even though we only want to display the frontend theme settings. This causes the backend theme settings form to override the frontend theme settings form => Saving settings for the frontend theme becomes impossible. I added a workaround to omega and alpha. However we might want to fix that in core too.
Comment #3
fb-multimediaThis patch work for me thanks a lot !
Comment #4
2phamanually adding the changes to 3.1 worked, thanks