Force page open in overlay I want to force admin pages open only and only in overlay. As you know if a link with an admin path is clicked it opens in overlay (if enabled). But if you write the URL to the browser, or use some deep link, or you are already in administration theme, the links expectedly wouldn't open in overlay.

How could I force the pages, even if the URL is entered to the browser's path, to open in overlay.

For example, if I type in the browser:


  www.example.com/admin/people


It should always open as:


  www.example.com/#overlay=admin/people
You can use the context overlay module to achieve this, this way you can easily configure what pages should be opened in an overlay.

You'll need to install:


Context (https://www.drupal.org/project/context)
Context Overlay (https://www.drupal.org/project/context_overlay)