By dtrdewaele on
Hi,
I have a site which is using Seven as administration theme. In the backend I'm doing some stuff with theme functions but the theme functions are in the default theme of the website and not in the administration theme. Problem is that those theme functions aren't called when using administration theme.
I tried this code out of the Simplenews module but it isn't working :(
global $custom_theme;
$org_custom_theme = $custom_theme;
$custom_theme = '';
Gr
Comments
A suggestion
Hi,
Sorry but to me, your issue title doesn't match the body of your issue.
.....
My suggestion refers to your title.
The core Drupal installation already implements the theme switching and default theme designation. Thus why not simply locate the Drupal cores implementation and use it as an example.
.....