On my site, I have the Overlay module enabled, and I have selected an admin theme that is different from the theme used as default.
Sometimes, a page for which the admin theme is set is accessed with a direct link, and the admin theme is used. I would like to show the page with the default theme, and use the admin theme only with the overlay.

Is there a way to achieve this (module, or code to use in a custom module)?

closed as off-topic by kiamlaluno May 31 '16 at 7:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking to recommend or find a book, tool, module, theme, distribution, tutorial, or other off-site resource are off-topic for Drupal Answers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – kiamlaluno
If this question can be reworded to fit the rules in the help center, please edit the question.


The Overlay Theme module would probably be ideal:

Overlay theme is a small module that provides an option to set the theme of modal frames provided by the core Overlay module, different from the default which is the Administration theme.

Using that you could set your default admin theme to the same as the front end, and set the overlay theme to what ever you like.

  • It seems I forgot to accept this answer. I don't know who down-voted, but the suggested module is the one I am using. – kiamlaluno Nov 25 '12 at 21:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.